APIdia Launch Partner
Top Fields Constructors Methods
jdk.jfr.internal.consumer

public final Class CompositeParser

extends Parser
Class Inheritance
Imports
java.io.IOException, java.util.ArrayList

Field Summary

Modifier and TypeField and Description
pack-priv final Parser[]

Constructor Summary

AccessConstructor and Description
public
CompositeParser(Parser[] valueParsers)

Method Summary

Modifier and TypeMethod and Description
public Object
parse(RecordingInput input)

Implements abstract jdk.jfr.internal.consumer.Parser.parse.

Parses data from a RecordingInput and return an object.

public Object
parseReferences(RecordingInput input)

Overrides jdk.jfr.internal.consumer.Parser.parseReferences.

Parses data from a RecordingInput to find references to constants.

pack-priv static Object
public void
skip(RecordingInput input)

Implements abstract jdk.jfr.internal.consumer.Parser.skip.

Skips data that would usually be by parsed the parse(RecordingInput) method.

Field Detail

parsersback to summary
pack-priv final Parser[] parsers

Constructor Detail

CompositeParserback to summary
public CompositeParser(Parser[] valueParsers)

Method Detail

parseback to summary
public Object parse(RecordingInput input) throws IOException

Implements abstract jdk.jfr.internal.consumer.Parser.parse.

Doc from jdk.jfr.internal.consumer.Parser.parse.

Parses data from a RecordingInput and return an object.

Annotations
@Override
Exceptions
IOException:
if operation couldn't be completed due to I/O problems
parseReferencesback to summary
public Object parseReferences(RecordingInput input) throws IOException

Overrides jdk.jfr.internal.consumer.Parser.parseReferences.

Doc from jdk.jfr.internal.consumer.Parser.parseReferences.

Parses data from a RecordingInput to find references to constants. If data is not a reference, null is returned.

Annotations
@Override
Exceptions
IOException:
if operation couldn't be completed due to I/O problems
parseReferencesback to summary
pack-priv static Object parseReferences(RecordingInput input, Parser[] parsers) throws IOException
skipback to summary
public void skip(RecordingInput input) throws IOException

Implements abstract jdk.jfr.internal.consumer.Parser.skip.

Doc from jdk.jfr.internal.consumer.Parser.skip.

Skips data that would usually be by parsed the parse(RecordingInput) method.

Annotations
@Override
Exceptions
IOException:
if operation couldn't be completed due to I/O problems