public interface Codec<T>
CodecFactoryString toString(T value) throws IOException
value - the value to convert. This value will never be null.IOException - if the object cannot be converted.T toObject(String value) throws IOException
value - the value to convert. This value will never be null.IOException - if the string value cannot be converted into an object.