org.pfsw.bif.conversion
Interface IStringConverter<T>
- All Superinterfaces:
- IObjectConverter<T,java.lang.String>
public interface IStringConverter<T>
- extends IObjectConverter<T,java.lang.String>
Defines a generic functional interface for the conversion of a
given source object into a String.
|
Method Summary |
java.lang.String |
convert(T source)
Converts the given source object into a string representation. |
convert
java.lang.String convert(T source)
- Converts the given source object into a string representation.
- Specified by:
convert in interface IObjectConverter<T,java.lang.String>
- Parameters:
source - The object to be converted (may be null).
- Returns:
- null or the string representation of the given object.
- Throws:
ConversionRuntimeException - For any problem that prevented successful object conversion.