Class AbstractDelimitedStringDecoder<T>
java.lang.Object
com.inductiveautomation.ignition.common.xmlserialization.deserialization.handlers.AbstractDelimitedStringDecoder<T>
- All Implemented Interfaces:
Decoder<T>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractDelimitedStringDecoder
(int numElements) protected
AbstractDelimitedStringDecoder
(int numElements, char delimiter) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract T
arrayToObject
(String[] array, DeserializationContext context) stringToObject
(String s, DeserializationContext context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.inductiveautomation.ignition.common.xmlserialization.encoding.Decoder
binaryToObject, createEncoder
-
Field Details
-
numElements
protected int numElements -
elements
-
delimiter
protected char delimiter -
index
protected int index
-
-
Constructor Details
-
AbstractDelimitedStringDecoder
protected AbstractDelimitedStringDecoder(int numElements) -
AbstractDelimitedStringDecoder
protected AbstractDelimitedStringDecoder(int numElements, char delimiter)
-
-
Method Details
-
arrayToObject
protected abstract T arrayToObject(String[] array, DeserializationContext context) throws IOException - Throws:
IOException
-
stringToObject
- Specified by:
stringToObject
in interfaceDecoder<T>
- Throws:
IOException
-