public class MessageFactory
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
buildMessage(java.util.Locale locale,
Localizable specific,
Localizable general,
java.lang.Object... arguments)
Builds a message string by from two patterns (specific and general) and
an argument list.
|
static java.lang.String |
buildMessage(java.util.Locale locale,
Localizable pattern,
java.lang.Object... arguments)
Builds a message string by from a pattern and its arguments.
|
public static java.lang.String buildMessage(java.util.Locale locale,
Localizable pattern,
java.lang.Object... arguments)
locale - Locale in which the message should be translated.pattern - Format specifier.arguments - Format arguments.public static java.lang.String buildMessage(java.util.Locale locale,
Localizable specific,
Localizable general,
java.lang.Object... arguments)
locale - Locale in which the message should be translated.specific - Format specifier (may be null).general - Format specifier (may be null).arguments - Format arguments. They will be substituted in
both the general and specific format specifiers.Copyright © 2010 - 2023 Adobe. All Rights Reserved