org.jminor.common.model
Interface Serializer<V>

Type Parameters:
V - the type of the values being serialized

public interface Serializer<V>

Serializes a list of values into a string.


Nested Class Summary
static class Serializer.SerializeException
          An exception occurring during serialization
 
Method Summary
 String serialize(List<V> values)
          Serializes the given values to a string
 

Method Detail

serialize

String serialize(List<V> values)
                 throws Serializer.SerializeException
Serializes the given values to a string

Parameters:
values - the values to serialize
Returns:
a string representing the given values
Throws:
Serializer.SerializeException - in case of an exception