public class JfrHtmlRulesReport
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
JfrHtmlRulesReport.SimpleResultGroup |
private static class |
JfrHtmlRulesReport.SimpleResultProvider |
Constructor and Description |
---|
JfrHtmlRulesReport() |
Modifier and Type | Method and Description |
---|---|
private static org.w3c.dom.Document |
createEmptyGroupsDocument() |
static java.lang.String |
createReport(java.io.File jfrFile)
Read a JFR file and create an HTML report
|
static java.lang.String |
createReport(IItemCollection events)
Create an HTML report from the provided IItemCollection
|
static java.lang.String |
createReport(java.io.InputStream stream)
Read JFR data and create an HTML report
|
private static java.util.logging.Logger |
getLogger() |
private static java.util.List<HtmlResultGroup> |
loadResultGroups() |
private static java.util.List<HtmlResultGroup> |
loadResultGroups(org.w3c.dom.Element element) |
static void |
main(java.lang.String[] args) |
public static void main(java.lang.String[] args)
private static java.util.logging.Logger getLogger()
public static java.lang.String createReport(java.io.File jfrFile) throws java.io.IOException, CouldNotLoadRecordingException
jfrFile
- JFR file to readCouldNotLoadRecordingException
- if the JFR file is invalidjava.io.IOException
- if the JFR file can't be readpublic static java.lang.String createReport(java.io.InputStream stream) throws java.io.IOException, CouldNotLoadRecordingException
stream
- the InputStream
with binary JFR data to readCouldNotLoadRecordingException
- if the JFR file is invalidjava.io.IOException
- if the JFR file can't be readpublic static java.lang.String createReport(IItemCollection events)
events
- the IItemCollection
for which to produce an HTML reportprivate static java.util.List<HtmlResultGroup> loadResultGroups()
private static org.w3c.dom.Document createEmptyGroupsDocument()
private static java.util.List<HtmlResultGroup> loadResultGroups(org.w3c.dom.Element element)