APIdia Launch Partner
Top Description Fields Constructors Methods
jdk.jfr.internal.jfc

pack-priv final Class JFCParser

extends Object
Class Inheritance
Imports
java.io.CharArrayReader, .CharArrayWriter, .IOException, .Reader, java.text.ParseException, jdk.internal.org.xml.sax.InputSource, .SAXException, jdk.internal.util.xml.SAXParser, jdk.internal.util.xml.impl.SAXParserImpl, jdk.jfr.Configuration, jdk.jfr.internal.PrivateAccess

Parses a JDK Flight Recorder Configuration file (.jfc)

Field Summary

Modifier and TypeField and Description
pack-priv static final String
private static final int

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public static Configuration
public static Configuration
private static void
private static String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

FILE_EXTENSIONback to summary
pack-priv static final String FILE_EXTENSION
MAXIMUM_FILE_SIZEback to summary
private static final int MAXIMUM_FILE_SIZE

Constructor Detail

JFCParserback to summary
pack-priv JFCParser()

Method Detail

createConfigurationback to summary
public static Configuration createConfiguration(String name, Reader reader) throws IOException, ParseException
createConfigurationback to summary
public static Configuration createConfiguration(String name, String content) throws IOException, ParseException
parseXMLback to summary
private static void parseXML(String content, JFCParserHandler ch) throws SAXException, IOException
readContentback to summary
private static String readContent(Reader r) throws IOException, ParseException