Uses of Class
com.ibm.icu.text.MessagePattern
-
Packages that use MessagePattern Package Description com.ibm.icu.samples.text.messagepattern com.ibm.icu.text -
-
Uses of MessagePattern in com.ibm.icu.samples.text.messagepattern
Fields in com.ibm.icu.samples.text.messagepattern declared as MessagePattern Modifier and Type Field Description private MessagePattern
MiniMessageFormatter. msg
Methods in com.ibm.icu.samples.text.messagepattern that return MessagePattern Modifier and Type Method Description private static MessagePattern
MessagePatternDemo. print(java.lang.String s)
Methods in com.ibm.icu.samples.text.messagepattern with parameters of type MessagePattern Modifier and Type Method Description private static void
MessagePatternDemo. printParts(MessagePattern msg)
Constructors in com.ibm.icu.samples.text.messagepattern with parameters of type MessagePattern Constructor Description MiniMessageFormatter(MessagePattern msg)
-
Uses of MessagePattern in com.ibm.icu.text
Fields in com.ibm.icu.text declared as MessagePattern Modifier and Type Field Description private MessagePattern
MessageFormat. msgPattern
The MessagePattern which contains the parsed structure of the pattern string.private MessagePattern
PluralFormat. msgPattern
The MessagePattern which contains the parsed structure of the pattern string.private MessagePattern
SelectFormat. msgPattern
The MessagePattern which contains the parsed structure of the pattern string.Methods in com.ibm.icu.text that return MessagePattern Modifier and Type Method Description MessagePattern
MessagePattern. cloneAsThawed()
Creates and returns an unfrozen copy of this object.MessagePattern
MessagePattern. freeze()
Freezes this object, making it immutable and thread-safe.MessagePattern
MessagePattern. parse(java.lang.String pattern)
Parses a MessageFormat pattern string.MessagePattern
MessagePattern. parseChoiceStyle(java.lang.String pattern)
Parses a ChoiceFormat pattern string.MessagePattern
MessagePattern. parsePluralStyle(java.lang.String pattern)
Parses a PluralFormat pattern string.MessagePattern
MessagePattern. parseSelectStyle(java.lang.String pattern)
Parses a SelectFormat pattern string.Methods in com.ibm.icu.text with parameters of type MessagePattern Modifier and Type Method Description private static MessagePatternUtil.ArgNode
MessagePatternUtil. buildArgNode(MessagePattern pattern, int start, int limit)
private static MessagePatternUtil.ComplexArgStyleNode
MessagePatternUtil. buildChoiceStyleNode(MessagePattern pattern, int start, int limit)
static MessagePatternUtil.MessageNode
MessagePatternUtil. buildMessageNode(MessagePattern pattern)
Factory method, builds and returns a MessageNode from a MessagePattern.private static MessagePatternUtil.MessageNode
MessagePatternUtil. buildMessageNode(MessagePattern pattern, int start, int limit)
private static MessagePatternUtil.ComplexArgStyleNode
MessagePatternUtil. buildPluralStyleNode(MessagePattern pattern, int start, int limit, MessagePattern.ArgType argType)
private static MessagePatternUtil.ComplexArgStyleNode
MessagePatternUtil. buildSelectStyleNode(MessagePattern pattern, int start, int limit)
private static int
MessageFormat. findChoiceSubMessage(MessagePattern pattern, int partIndex, double number)
Finds the ChoiceFormat sub-message for the given number.(package private) static int
PluralFormat. findSubMessage(MessagePattern pattern, int partIndex, PluralFormat.PluralSelector selector, java.lang.Object context, double number)
Finds the PluralFormat sub-message for the given number, or the "other" sub-message.(package private) static int
SelectFormat. findSubMessage(MessagePattern pattern, int partIndex, java.lang.String keyword)
Finds the SelectFormat sub-message for the given keyword, or the "other" sub-message.private static int
MessageFormat. matchStringUntilLimitPart(MessagePattern pattern, int partIndex, int limitPartIndex, java.lang.String source, int sourceOffset)
Matches the pattern string from the end of the partIndex to the beginning of the limitPartIndex, including all syntax except SKIP_SYNTAX, against the source string starting at sourceOffset.private static double
MessageFormat. parseChoiceArgument(MessagePattern pattern, int partIndex, java.lang.String source, java.text.ParsePosition pos)
-