| 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 |
|---|---|
default IFormatter<DATATYPE> |
IFormatter.andThen(IFormatter<? super String> after) |
IFormatter<DATATYPE> |
IHasFormatter.getFormatter()
Get the required formatting object to handle values of this context.
|
IFormatter<DATATYPE> |
IFormatableObject.getFormatter() |
IFormatter<DATATYPE> |
FormatableObject.getFormatter() |
| Modifier and Type | Method and Description |
|---|---|
default IFormatter<DATATYPE> |
IFormatter.andThen(IFormatter<? super String> after) |
| Constructor and Description |
|---|
FormatableObject(DATATYPE aValue,
IFormatter<DATATYPE> aFormatter)
Init the field with a value.
|
Copyright © 2014–2017 Philip Helger. All rights reserved.