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(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, CouldNotLoadRecordingException
jfrFile
- JFR file to readCouldNotLoadRecordingException
- if the JFR file is invalidIOException
- if the JFR file can't be readpublic static String createReport(InputStream stream) throws IOException, CouldNotLoadRecordingException
stream
- the InputStream
with binary JFR data to readCouldNotLoadRecordingException
- if the JFR file is invalidIOException
- if the JFR file can't be readpublic static String createReport(IItemCollection events)
events
- the IItemCollection
for which to produce an HTML reportCopyright © 2020. All rights reserved.