Class StringValueGetter
- java.lang.Object
-
- io.github.sebasbaumh.postgis.binary.ValueGetter
-
- io.github.sebasbaumh.postgis.binary.StringValueGetter
-
public class StringValueGetter extends ValueGetter
Allows reading values from a string.- Author:
- Sebastian Baumhekel
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.github.sebasbaumh.postgis.binary.ValueGetter
ValueGetter.IntBuilder, ValueGetter.LongBuilder
-
-
Field Summary
-
Fields inherited from class io.github.sebasbaumh.postgis.binary.ValueGetter
endian, funcInt, funcLong
-
-
Constructor Summary
Constructors Constructor Description StringValueGetter(String value)
Constructs an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getNextByte()
Gets a byte at the current index.-
Methods inherited from class io.github.sebasbaumh.postgis.binary.ValueGetter
getDouble, getInt, getLong, readEncoding
-
-
-
-
Constructor Detail
-
StringValueGetter
public StringValueGetter(String value)
Constructs an instance.- Parameters:
value
- value as hex string
-
-
Method Detail
-
getNextByte
protected int getNextByte()
Description copied from class:ValueGetter
Gets a byte at the current index.- Specified by:
getNextByte
in classValueGetter
- Returns:
- byte
-
-