public class JfrLoaderToolkit extends Object
IItemCollection
implementations.Constructor and Description |
---|
JfrLoaderToolkit() |
Modifier and Type | Method and Description |
---|---|
static org.openjdk.jmc.common.item.IItemCollection |
loadEvents(File file)
Loads a potentially zipped or gzipped file using the parser extensions loaded from the java
service loader
|
static org.openjdk.jmc.common.item.IItemCollection |
loadEvents(InputStream stream)
Loads a potentially zipped or gzipped input stream using the parser extensions loaded from
the java service loader
|
static org.openjdk.jmc.common.item.IItemCollection |
loadEvents(InputStream stream,
List<? extends IParserExtension> extensions)
Loads a potentially zipped or gzipped input stream using the parser extensions loaded from
the java service loader
|
static org.openjdk.jmc.common.item.IItemCollection |
loadEvents(List<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 org.openjdk.jmc.common.item.IItemCollection |
loadEvents(List<File> files,
List<? extends IParserExtension> extensions)
Loads a recording from a sequence of potentially zipped or gzipped file using the supplied
parser extensions
|
public static org.openjdk.jmc.common.item.IItemCollection loadEvents(InputStream stream) throws IOException, CouldNotLoadRecordingException
stream
- the input stream to read the recording fromIOException
CouldNotLoadRecordingException
public static org.openjdk.jmc.common.item.IItemCollection loadEvents(InputStream stream, List<? extends IParserExtension> extensions) throws IOException, CouldNotLoadRecordingException
stream
- the input stream to read the recording fromextensions
- the extensions to use when parsing the fileIOException
CouldNotLoadRecordingException
public static org.openjdk.jmc.common.item.IItemCollection loadEvents(File file) throws IOException, CouldNotLoadRecordingException
file
- the file to read the recording fromIOException
CouldNotLoadRecordingException
public static org.openjdk.jmc.common.item.IItemCollection loadEvents(List<File> files) throws IOException, CouldNotLoadRecordingException
files
- the files to read the recording fromIOException
CouldNotLoadRecordingException
public static org.openjdk.jmc.common.item.IItemCollection loadEvents(List<File> files, List<? extends IParserExtension> extensions) throws IOException, CouldNotLoadRecordingException
files
- the files to read the recording fromextensions
- the extensions to use when parsing the fileIOException
CouldNotLoadRecordingException
Copyright © 2020. All rights reserved.