Package com.moandjiezana.toml
Class InlineTableValueReader
- java.lang.Object
-
- com.moandjiezana.toml.InlineTableValueReader
-
- All Implemented Interfaces:
ValueReader
class InlineTableValueReader extends java.lang.Object implements ValueReader
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static InlineTableValueReaderINLINE_TABLE_VALUE_READER
-
Constructor Summary
Constructors Modifier Constructor Description privateInlineTableValueReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanRead(java.lang.String s)java.lang.Objectread(java.lang.String s, java.util.concurrent.atomic.AtomicInteger sharedIndex, Context context)Partial validation.
-
-
-
Field Detail
-
INLINE_TABLE_VALUE_READER
static final InlineTableValueReader INLINE_TABLE_VALUE_READER
-
-
Method Detail
-
canRead
public boolean canRead(java.lang.String s)
- Specified by:
canReadin interfaceValueReader- Parameters:
s- must already have been trimmed
-
read
public java.lang.Object read(java.lang.String s, java.util.concurrent.atomic.AtomicInteger sharedIndex, Context context)Description copied from interface:ValueReaderPartial validation. Stops after type terminator, rather than at EOI.- Specified by:
readin interfaceValueReader- Parameters:
s- must already have been validated byValueReader.canRead(String)sharedIndex- where to start in s- Returns:
- a value or a
Results.Errors
-
-