public class DetailedPercentFormatter extends java.lang.Object implements ValueFormatter<java.lang.Number>
| Constructor and Description |
|---|
DetailedPercentFormatter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
format(java.lang.Number object)
Formats the specified object into an appropriate
String |
java.lang.Class<java.lang.Number> |
getType()
Returns the
Class all objects acceptable as input to the format method must be
assignable to. |
public java.lang.Class<java.lang.Number> getType()
ValueFormatterClass all objects acceptable as input to the format method must be
assignable to.getType in interface ValueFormatter<java.lang.Number>ValueFormatterpublic java.lang.String format(java.lang.Number object)
ValueFormatterStringformat in interface ValueFormatter<java.lang.Number>object - The object to formatobject