Modifier and Type | Field and Description |
---|---|
protected char |
delimiter |
protected java.lang.String[] |
elements |
protected int |
index |
protected int |
numElements |
Modifier | Constructor and Description |
---|---|
protected |
AbstractDelimitedStringDecoder(int numElements) |
protected |
AbstractDelimitedStringDecoder(int numElements,
char delimiter) |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
arrayToObject(java.lang.String[] array,
DeserializationContext context) |
T |
stringToObject(java.lang.String s,
DeserializationContext context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
binaryToObject, createEncoder
protected int numElements
protected java.lang.String[] elements
protected char delimiter
protected int index
protected AbstractDelimitedStringDecoder(int numElements)
protected AbstractDelimitedStringDecoder(int numElements, char delimiter)
protected abstract T arrayToObject(java.lang.String[] array, DeserializationContext context) throws java.io.IOException
java.io.IOException
public T stringToObject(java.lang.String s, DeserializationContext context) throws java.io.IOException
stringToObject
in interface Decoder<T>
java.io.IOException