public abstract class Parser<E extends Entry<T,L,V>,T extends Tag,L extends Length,V extends Value> extends java.lang.Object implements Entry.Parser<E,T,L,V>
| Constructor and Description |
|---|
Parser() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract E |
createEntry(chat.dim.type.ByteArray data,
T type,
L length,
V value) |
protected abstract Length.Parser<T,L> |
getLengthParser() |
protected abstract Tag.Parser<T> |
getTagParser() |
protected abstract Value.Parser<T,L,V> |
getValueParser() |
java.util.List<E> |
parseEntries(chat.dim.type.ByteArray data)
Parse all TLV triads
|
E |
parseEntry(chat.dim.type.ByteArray data) |
protected abstract Tag.Parser<T> getTagParser()
protected abstract Length.Parser<T,L> getLengthParser()
protected abstract Value.Parser<T,L,V> getValueParser()
protected abstract E createEntry(chat.dim.type.ByteArray data, T type, L length, V value)
public E parseEntry(chat.dim.type.ByteArray data)
public java.util.List<E> parseEntries(chat.dim.type.ByteArray data)
Entry.Parser