Class ValueReaders.StringReader
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.internal.parser.v1.ValueReaders.StringReader
-
- All Implemented Interfaces:
ValueReaders.IValueReader
- Enclosing class:
- ValueReaders
static class ValueReaders.StringReader extends java.lang.Object implements ValueReaders.IValueReader
-
-
Field Summary
Fields Modifier and Type Field Description private FastAccessNumberMap<java.lang.Object>
constantPool
(package private) static java.lang.String
STRING
-
Constructor Summary
Constructors Constructor Description StringReader(FastAccessNumberMap<java.lang.Object> constantPool)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentType<?>
getContentType()
java.lang.Object
read(IDataInput in, boolean allowUnresolvedReference)
java.lang.Object
resolve(java.lang.Object value)
void
skip(IDataInput in)
-
-
-
Field Detail
-
STRING
static final java.lang.String STRING
- See Also:
- Constant Field Values
-
constantPool
private final FastAccessNumberMap<java.lang.Object> constantPool
-
-
Constructor Detail
-
StringReader
StringReader(FastAccessNumberMap<java.lang.Object> constantPool)
-
-
Method Detail
-
read
public java.lang.Object read(IDataInput in, boolean allowUnresolvedReference) throws java.io.IOException, InvalidJfrFileException
- Specified by:
read
in interfaceValueReaders.IValueReader
- Throws:
java.io.IOException
InvalidJfrFileException
-
skip
public void skip(IDataInput in) throws java.io.IOException, InvalidJfrFileException
- Specified by:
skip
in interfaceValueReaders.IValueReader
- Throws:
java.io.IOException
InvalidJfrFileException
-
resolve
public java.lang.Object resolve(java.lang.Object value) throws InvalidJfrFileException
- Specified by:
resolve
in interfaceValueReaders.IValueReader
- Throws:
InvalidJfrFileException
-
getContentType
public ContentType<?> getContentType()
- Specified by:
getContentType
in interfaceValueReaders.IValueReader
-
-