com.jgoodies.common.format
public final class EmptyNumberFormat extends NumberFormat
Examples:
new EmptyNumberFormat(NumberFormat().getInstance()); new EmptyNumberFormat(NumberFormat().getIntegerInstance(), -1);
Version: $Revision: 1.3 $
Constructor Summary | |
---|---|
EmptyNumberFormat(NumberFormat delegate)
Constructs an EmptyNumberFormat that wraps the given format
to convert {@code null} to the empty string and vice versa.
| |
EmptyNumberFormat(NumberFormat delegate, int emptyValue)
Constructs an EmptyNumberFormat that wraps the given format
to convert the given {@code emptyValue} to the empty string
and vice versa.
| |
EmptyNumberFormat(NumberFormat delegate, Number emptyValue)
Constructs an EmptyNumberFormat that wraps the given format
to convert the given {@code emptyValue} to the empty string
and vice versa.
|
Parameters: delegate the format that handles the standard cases
Parameters: delegate the format that handles non-{@code null} values emptyValue the representation of the empty string
Parameters: delegate the format that handles non-{@code null} values emptyValue the representation of the empty string