| Package | Description |
|---|---|
| com.helger.commons.format |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractFormatterString
Base implementation class of the
IFormatter interface that provides
the common functionality. |
class |
FormatterBracket
Format objects by surrounding them with brackets: [...]
|
class |
FormatterMinLengthAddLeading
A string formatter that ensures that a string has a minimum length by filling
the remaining chars with a custom character at front (leading).
|
class |
FormatterMinLengthAddTrailing
A string formatter that ensures that a string has a minimum length by filling
the remaining chars with a custom character at the end (trailing).
|
class |
FormatterStringPrefix
A formatter that adds a prefix to a string.
|
class |
FormatterStringPrefixAndSuffix
A formatter that adds a prefix and/or a suffix to a string.
|
class |
FormatterStringSkipPrefix
A formatter that skips a prefix from a string.
|
class |
FormatterStringSkipPrefixAndSuffix
A formatter that skip a prefix and/or a suffix to a string.
|
class |
FormatterStringSkipSuffix
A formatter that skips a suffix from a string.
|
class |
FormatterStringSuffix
A formatter that adds a suffix to a string.
|
| Modifier and Type | Method and Description |
|---|---|
IFormatter |
IHasFormatter.getFormatter()
Get the required formatting object to handle values of this context.
|
IFormatter |
IFormatableObject.getFormatter() |
IFormatter |
FormatableObject.getFormatter() |
IFormatter |
AbstractFormatterString.getPreviousFormatter() |
| Constructor and Description |
|---|
AbstractFormatterString(IFormatter aPrevFormatter) |
FormatableObject(Object aValue,
IFormatter aFormatter)
Init the field with a value.
|
FormatterBracket(IFormatter aPrevFormatter) |
FormatterMinLengthAddLeading(IFormatter aPrevFormatter,
int nMinLength,
char cFill) |
FormatterMinLengthAddTrailing(IFormatter aPrevFormatter,
int nMinLength,
char cFill) |
FormatterStringPrefix(IFormatter aPrevFormatter,
String sPrefix) |
FormatterStringPrefixAndSuffix(IFormatter aPrevFormatter,
String sPrefix,
String sSuffix) |
FormatterStringSkipPrefix(IFormatter aPrevFormatter,
String sPrefix) |
FormatterStringSkipPrefixAndSuffix(IFormatter aPrevFormatter,
String sPrefix,
String sSuffix) |
FormatterStringSkipSuffix(IFormatter aPrevFormatter,
String sSuffix) |
FormatterStringSuffix(IFormatter aPrevFormatter,
String sSuffix) |
Copyright © 2014–2016 Philip Helger. All rights reserved.