Tech Preview implementation of the MessageFormat v2 specification.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | Formatter
Deprecated
This API is for technology preview only.
The interface that must be implemented by all formatters
that can be used from MessageFormatter.
|
| public interface | FormatterFactory
Deprecated
This API is for technology preview only.
The interface that must be implemented for each formatting function name
that can be used from MessageFormatter.
|
| public interface | Selector
Deprecated
This API is for technology preview only.
The interface that must be implemented by all selectors
that can be used from MessageFormatter.
|
| public interface | SelectorFactory
Deprecated
This API is for technology preview only.
The interface that must be implemented for each selection function
that can be used from MessageFormatter.
|
| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | DateTimeFormatterFactory
Deprecated
as a consequence of Creates a FormatterFactory being deprecated.
Formatter doing formatting of date / time, similar to
{exp, date} and {exp, time} in com..
|
| public class | FormattedMessage
Deprecated
This API is for ICU internal use only.
Not yet implemented: The result of a message formatting operation.
|
| public class | FormattedPlaceholder
Deprecated
This API is for ICU internal use only.
An immutable, richer formatting result, encapsulating a FormattedValue,
the original value to format, and we are considering adding some more info.
|
| pack-priv class | IdentityFormatterFactory
Deprecated
as a consequence of Creates a FormatterFactory being deprecated.
Formatter that simply returns the String non-i18n aware representation of an object.
|
| public class | MessageFormatter
Deprecated
This API is for technology preview only.
Overview of MessageFormatter
In ICU4J, the |
| public class | Mf2DataModel
Deprecated
This API is for technology preview only.
This maps closely to the official specification.
|
| pack-priv class | Mf2DataModelFormatter
Takes an |
| public class | Mf2FunctionRegistry
Deprecated
This API is for technology preview only.
This class is used to register mappings between various function
names and the factories that can create those functions.
|
| pack-priv class | Mf2Parser
Class generated from EBNF. |
| pack-priv class | |
| pack-priv class | NumberFormatterFactory
Deprecated
as a consequence of Creates a FormatterFactory being deprecated.
Formatter doing numeric formatting, similar to {exp, number}
in com..
|
| pack-priv class | |
| public class | PlainStringFormattedValue
Deprecated
This API is for unit testing only.
Very-very rough implementation of FormattedValue, packaging a string.
|
| pack-priv class | PluralSelectorFactory
Deprecated
as a consequence of Creates a SelectorFactory being deprecated.
Selector doing plural selection, similar to {exp, plural}
in com..
|
| pack-priv class | TextSelectorFactory
Deprecated
as a consequence of Creates a SelectorFactory being deprecated.
Selector doing literal selection, similar to {exp, select}
in com..
|