| Package | Description |
|---|---|
| com.phloc.commons.format | |
| com.phloc.commons.format.impl |
| Modifier and Type | Method and Description |
|---|---|
IFormatter |
IFormatterProvider.getFormatter()
Get the required formatting object to handle values of this context.
|
IFormatter |
IFormattedObject.getFormatter() |
IFormatter |
FormatterProviderConstant.getFormatter() |
IFormatter |
FormattedObject.getFormatter() |
| Constructor and Description |
|---|
FormattedObject(Object aValue,
IFormatter aFormatter)
Init the field with a value.
|
FormatterProviderConstant(IFormatter aFormatter) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractStringFormatter
Base implementation class of the
IFormatter interface that provides
the common functionality. |
class |
BracketFormatter
Format objects by surrounding them with brackets: [...]
|
class |
MinLengthAddLeadingFormatter
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 |
MinLengthAddTrailingFormatter
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 |
StringPrefixAndSuffixFormatter
A formatter that adds a prefix and/or a suffix to a string.
|
class |
StringPrefixFormatter
A formatter that adds a prefix to a string.
|
class |
StringSkipPrefixAndSuffixFormatter
A formatter that skip a prefix and/or a suffix to a string.
|
class |
StringSkipPrefixFormatter
A formatter that skips a prefix from a string.
|
class |
StringSkipSuffixFormatter
A formatter that skips a suffix from a string.
|
class |
StringSuffixFormatter
A formatter that adds a suffix to a string.
|
| Constructor and Description |
|---|
AbstractStringFormatter(IFormatter aPrevFormatter) |
BracketFormatter(IFormatter aNestedFormatter) |
MinLengthAddLeadingFormatter(IFormatter aNestedFormatter,
int nMinLength,
char cFill) |
MinLengthAddTrailingFormatter(IFormatter aNestedFormatter,
int nMinLength,
char cFill) |
StringPrefixAndSuffixFormatter(IFormatter aNestedFormatter,
String sPrefix,
String sSuffix) |
StringPrefixFormatter(IFormatter aNestedFormatter,
String sPrefix) |
StringSkipPrefixAndSuffixFormatter(IFormatter aNestedFormatter,
String sPrefix,
String sSuffix) |
StringSkipPrefixFormatter(IFormatter aNestedFormatter,
String sPrefix) |
StringSkipSuffixFormatter(IFormatter aNestedFormatter,
String sSuffix) |
StringSuffixFormatter(IFormatter aNestedFormatter,
String sSuffix) |
Copyright © 2006–2014 phloc systems. All rights reserved.