public class JfrLoaderToolkit
extends java.lang.Object
IItemCollection
implementations.| Constructor and Description |
|---|
JfrLoaderToolkit() |
| Modifier and Type | Method and Description |
|---|---|
static IItemCollection |
loadEvents(java.io.File file)
Loads a potentially zipped or gzipped file using the parser extensions loaded from the java
service loader
|
static IItemCollection |
loadEvents(java.io.InputStream stream)
Loads a potentially zipped or gzipped input stream using the parser extensions loaded from
the java service loader
|
static IItemCollection |
loadEvents(java.io.InputStream stream,
java.util.List<? extends IParserExtension> extensions)
Loads a potentially zipped or gzipped input stream using the parser extensions loaded from
the java service loader
|
static IItemCollection |
loadEvents(java.util.List<java.io.File> files)
Loads a recording from a sequence of potentially zipped or gzipped files using the parser
extensions loaded from the java service loader
|
static IItemCollection |
loadEvents(java.util.List<java.io.File> files,
java.util.List<? extends IParserExtension> extensions)
Loads a recording from a sequence of potentially zipped or gzipped file using the supplied
parser extensions
|
private static EventArrays |
loadFile(java.util.List<java.io.File> files,
java.util.List<? extends IParserExtension> extensions) |
private static EventArrays loadFile(java.util.List<java.io.File> files, java.util.List<? extends IParserExtension> extensions) throws java.io.IOException, CouldNotLoadRecordingException
files - the files to read the recording fromextensions - the extensions to use when parsing the filejava.io.IOExceptionCouldNotLoadRecordingExceptionpublic static IItemCollection loadEvents(java.io.InputStream stream) throws java.io.IOException, CouldNotLoadRecordingException
stream - the input stream to read the recording fromjava.io.IOExceptionCouldNotLoadRecordingExceptionpublic static IItemCollection loadEvents(java.io.InputStream stream, java.util.List<? extends IParserExtension> extensions) throws CouldNotLoadRecordingException, java.io.IOException
stream - the input stream to read the recording fromextensions - the extensions to use when parsing the fileCouldNotLoadRecordingExceptionjava.io.IOExceptionpublic static IItemCollection loadEvents(java.io.File file) throws java.io.IOException, CouldNotLoadRecordingException
file - the file to read the recording fromjava.io.IOExceptionCouldNotLoadRecordingExceptionpublic static IItemCollection loadEvents(java.util.List<java.io.File> files) throws java.io.IOException, CouldNotLoadRecordingException
files - the files to read the recording fromjava.io.IOExceptionCouldNotLoadRecordingExceptionpublic static IItemCollection loadEvents(java.util.List<java.io.File> files, java.util.List<? extends IParserExtension> extensions) throws java.io.IOException, CouldNotLoadRecordingException
files - the files to read the recording fromextensions - the extensions to use when parsing the filejava.io.IOExceptionCouldNotLoadRecordingException