V
- the type of the values being serializedpublic interface Serializer<V>
Modifier and Type | Interface and Description |
---|---|
static class |
Serializer.SerializeException
An exception occurring during serialization
|
Modifier and Type | Method and Description |
---|---|
java.util.List<V> |
deserialize(java.lang.String values)
Deserializes the given string into a list of values
|
java.lang.String |
serialize(java.util.List<V> values)
Serializes the given values to a string
|
java.lang.String serialize(java.util.List<V> values) throws Serializer.SerializeException
values
- the values to serializeSerializer.SerializeException
- in case of an exceptionjava.util.List<V> deserialize(java.lang.String values) throws Serializer.SerializeException
values
- the string representing the valuesSerializer.SerializeException
- in case of an exception