public class StringSkipPrefixAndSuffixFormatter extends AbstractStringFormatter
| Constructor and Description |
|---|
StringSkipPrefixAndSuffixFormatter(IFormatter aNestedFormatter,
String sPrefix,
String sSuffix) |
StringSkipPrefixAndSuffixFormatter(String sPrefix,
String sSuffix) |
| 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 StringSkipPrefixAndSuffixFormatter(@Nonnull String sPrefix, @Nonnull String sSuffix)
protected final 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–2015 phloc systems. All rights reserved.