public interface ByteStringParser extends BytesCommon
| Modifier and Type | Method and Description |
|---|---|
Boolean |
parseBoolean(StopCharTester tester)
Return true or false, or null if it could not be detected as true or false.
|
MutableDecimal |
parseDecimal(MutableDecimal decimal) |
double |
parseDouble() |
<E extends Enum<E>> |
parseEnum(Class<E> eClass,
StopCharTester tester) |
long |
parseLong() |
long |
parseLong(int base) |
String |
parseUTF(StopCharTester tester) |
void |
parseUTF(StringBuilder builder,
StopCharTester tester)
Populate a StringBuilder with the UTF encoded text until the end.
|
boolean |
skipTo(StopCharTester tester)
Wind from this positionAddr to the end of the field
|
boolean |
stepBackAndSkipTo(StopCharTester tester)
Make sure we just read a stop character
|
byteOrder, bytesMarshallerFactory, capacity, checkEndOfBuffer, finish, inputStream, isFinished, outputStream, position, position, remaining, reset, writeBoolean parseBoolean(@NotNull StopCharTester tester)
tester - to detect the end of the text.void parseUTF(@NotNull
StringBuilder builder,
@NotNull
StopCharTester tester)
builder - to clear and append to.tester - to detect when to stop.@NotNull String parseUTF(@NotNull StopCharTester tester)
@Nullable <E extends Enum<E>> E parseEnum(@NotNull Class<E> eClass, @NotNull StopCharTester tester)
@NotNull MutableDecimal parseDecimal(@NotNull MutableDecimal decimal)
long parseLong()
long parseLong(int base)
base - to use.double parseDouble()
boolean stepBackAndSkipTo(@NotNull
StopCharTester tester)
tester - to stop atboolean skipTo(@NotNull
StopCharTester tester)
tester - to stop atCopyright © 2014. All Rights Reserved.