public interface BasicFormatter
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCompatible(java.lang.Object object)
Returns true, if this formatter is able to format the given object into a String.
|
java.lang.String |
toString(java.lang.Object object)
Returns the object formatted into a String or null if this formatter is unable to format the object.
|
boolean isCompatible(java.lang.Object object)
object - the input to both isCompatible(...) and toString(...).java.lang.String toString(java.lang.Object object)
object - the input to both isCompatible(...) and toString(...).