Package com.helger.commons.format
Interface IFormatableObject<DATATYPE>
-
- Type Parameters:
DATATYPE- Data type to be formatted
- All Known Implementing Classes:
FormatableObject
public interface IFormatableObject<DATATYPE>Basic interface for special objects having a certain string representation.- Author:
- Philip Helger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StringgetAsString()Get the value converted to a string with the specified formatter.Function<? super DATATYPE,? extends String>getFormatter()DATATYPEgetValue()Get the original value.
-