public class JfrHtmlRulesReport extends Object
Constructor and Description |
---|
JfrHtmlRulesReport() |
Modifier and Type | Method and Description |
---|---|
static String |
createReport(File jfrFile)
Read a JFR file and create an HTML report
|
static String |
createReport(org.openjdk.jmc.common.item.IItemCollection events)
Create an HTML report from the provided IItemCollection
|
static String |
createReport(InputStream stream)
Read JFR data and create an HTML report
|
static void |
main(String[] args) |
public static void main(String[] args)
public static String createReport(File jfrFile) throws IOException, org.openjdk.jmc.flightrecorder.CouldNotLoadRecordingException
jfrFile
- JFR file to readorg.openjdk.jmc.flightrecorder.CouldNotLoadRecordingException
- if the JFR file is invalidIOException
- if the JFR file can't be readpublic static String createReport(InputStream stream) throws IOException, org.openjdk.jmc.flightrecorder.CouldNotLoadRecordingException
stream
- the InputStream
with binary JFR data to readorg.openjdk.jmc.flightrecorder.CouldNotLoadRecordingException
- if the JFR file is invalidIOException
- if the JFR file can't be readpublic static String createReport(org.openjdk.jmc.common.item.IItemCollection events)
events
- the IItemCollection
for which to produce an HTML reportCopyright © 2020. All rights reserved.