public final class MinLengthAddLeadingFormatter extends AbstractStringFormatter
| Constructor and Description |
|---|
MinLengthAddLeadingFormatter(IFormatter aNestedFormatter,
int nMinLength,
char cFill) |
MinLengthAddLeadingFormatter(int nMinLength,
char cFill) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
protected String |
getFormattedValueAsString(Object aValue)
Convert the passed value from Object to formatted String.
|
int |
hashCode() |
String |
toString() |
getFormattedValue, getValueAsStringpublic MinLengthAddLeadingFormatter(@Nonnegative int nMinLength, char cFill)
public MinLengthAddLeadingFormatter(@Nullable IFormatter aNestedFormatter, @Nonnegative int nMinLength, char cFill)
protected String getFormattedValueAsString(@Nullable Object aValue)
AbstractStringFormatterAbstractStringFormatter.getValueAsString(Object) in implementations of this method to do
the base conversion from Object to String.getFormattedValueAsString in class AbstractStringFormatteraValue - The source object. May be null.public String toString()
toString in class AbstractStringFormatterCopyright © 2006–2014 phloc systems. All rights reserved.