public final class FormatterMinLengthAddLeading extends AbstractFormatterString
| Constructor and Description |
|---|
FormatterMinLengthAddLeading(int nMinLength,
char cFill) |
| Modifier and Type | Method and Description |
|---|---|
String |
apply(Object aValue)
Convert the passed value to a formatted string according to the pattern.
|
boolean |
equals(Object o) |
char |
getFillChar() |
int |
getMinLength() |
int |
hashCode() |
String |
toString() |
getValueAsStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitandThenpublic FormatterMinLengthAddLeading(@Nonnegative int nMinLength, char cFill)
@Nonnegative public int getMinLength()
public char getFillChar()
public String apply(@Nullable Object aValue)
IFormatteraValue - The source value to be formatted. May be null.null.public String toString()
toString in class AbstractFormatterStringCopyright © 2014–2017 Philip Helger. All rights reserved.