public interface ValueReader
| Modifier and Type | Method and Description |
|---|---|
MessageFormatType |
getFormatType() |
Binary |
readBinary() |
Boolean |
readBoolean() |
BigDecimal |
readDecimal() |
Double |
readDouble() |
<T extends MessageEnum> |
readEnum(MessageEnumSerializer<T> factory) |
Float |
readFloat() |
Integer |
readInt() |
Long |
readInt64() |
<T> List<T> |
readList(ValueSerializer<T> parser) |
<K,V> Map<K,V> |
readMap(ValueSerializer<K> keyParser,
ValueSerializer<V> valueParser) |
<T extends Message> |
readMessage(MessageSerializer<T> parser) |
Position |
readPosition() |
PositionTime |
readPositionTime() |
default <T> Set<T> |
readSet(ValueSerializer<T> parser) |
String |
readText() |
default Timestamp |
readTimestamp() |
BigInteger |
readVarInt() |
MessageFormatType getFormatType()
Integer readInt() throws IOException
IOExceptionLong readInt64() throws IOException
IOExceptionBigInteger readVarInt() throws IOException
IOExceptionFloat readFloat() throws IOException
IOExceptionDouble readDouble() throws IOException
IOExceptionBigDecimal readDecimal() throws IOException
IOExceptionBoolean readBoolean() throws IOException
IOExceptionBinary readBinary() throws IOException
IOExceptionString readText() throws IOException
IOExceptiondefault Timestamp readTimestamp() throws IOException
IOExceptionPosition readPosition() throws IOException
IOExceptionPositionTime readPositionTime() throws IOException
IOException<T extends MessageEnum> T readEnum(MessageEnumSerializer<T> factory) throws IOException
IOException<T extends Message> T readMessage(MessageSerializer<T> parser) throws IOException
IOException<T> List<T> readList(ValueSerializer<T> parser) throws IOException
IOExceptiondefault <T> Set<T> readSet(ValueSerializer<T> parser) throws IOException
IOException<K,V> Map<K,V> readMap(ValueSerializer<K> keyParser, ValueSerializer<V> valueParser) throws IOException
IOExceptionCopyright © 2012–2015 Danish Maritime Authority. All rights reserved.