| Package | Description |
|---|---|
| com.phloc.commons.text | |
| com.phloc.commons.text.impl | |
| com.phloc.commons.text.resolve | |
| com.phloc.commons.text.resource |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IMultiLingualText
Interface for a writable version of a multilingual text
|
interface |
IReadonlyMultiLingualText
Readonly interface for a multilingual text
|
interface |
ISimpleMultiLingualText
This is an in-between interface between the
ITextProvider and the
IReadonlyMultiLingualText. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractTextProvider
An abstract implementation of the
ITextProvider that has default
implementations for the formatting things. |
class |
ConstantTextProvider
An implementation of the
ITextProvider
interface that always returns a constant string. |
class |
MultiLingualText
This class represents a multilingual text.
|
class |
MultiLingualTextThreadSafe
This class represents a thread safe multilingual text.
|
class |
ReadonlyMultiLingualText
This class represents a multilingual text.
|
class |
TextProvider
An in-memory implementation of the
ITextProvider interface. |
| Modifier and Type | Method and Description |
|---|---|
static String |
DefaultTextResolver.getText(Enum<?> aEnum,
ITextProvider aTP,
Locale aContentLocale)
Get the text of the given element in the given locale.
|
String |
IEnumTextResolver.getTextWithArgs(Enum<?> aEnum,
ITextProvider aTP,
Locale aContentLocale,
Object... aArgs)
Get the text of an enumeration item with placeholder texts being replaced.
|
String |
AbstractEnumTextResolverWithOverrideAndFallback.getTextWithArgs(Enum<?> aEnum,
ITextProvider aTP,
Locale aContentLocale,
Object... aArgs) |
static String |
DefaultTextResolver.getTextWithArgs(Enum<?> aEnum,
ITextProvider aTP,
Locale aContentLocale,
Object[] aArgs)
Get the text of the given element in the given locale using the passed
arguments.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ResourceBundleTextProvider
This class encapsulates the resource bundle handling.
|
Copyright © 2006–2014 phloc systems. All rights reserved.