Top Description Interfaces Classes
[default module]

Package com.ibm.icu.message2


Tech Preview implementation of the MessageFormat v2 specification.

Interface Summary

Modifier and TypeInterface 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.

Class Summary

Modifier and TypeClass and Description
pack-priv class
DateTimeFormatterFactory

Deprecated as a consequence of FormatterFactory being deprecated.
Creates a Formatter doing formatting of date / time, similar to {exp, date} and {exp, time} in com.ibm.icu.text.MessageFormat.
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 FormatterFactory being deprecated.
Creates a 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 MessageFormatter class is the next iteration of com.ibm.icu.text.MessageFormat.

public class
Mf2DataModel

Deprecated This API is for technology preview only.
This maps closely to the official specification.
pack-priv class
Mf2DataModelFormatter

Takes an Mf2DataModel and formats it to a String (and later on we will also implement formatting to a FormattedMessage).

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 FormatterFactory being deprecated.
Creates a Formatter doing numeric formatting, similar to {exp, number} in com.ibm.icu.text.MessageFormat.
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 SelectorFactory being deprecated.
Creates a Selector doing plural selection, similar to {exp, plural} in com.ibm.icu.text.MessageFormat.
pack-priv class
TextSelectorFactory

Deprecated as a consequence of SelectorFactory being deprecated.
Creates a Selector doing literal selection, similar to {exp, select} in com.ibm.icu.text.MessageFormat.