HomeSort by relevance Sort by last modified time
    Searched refs:MessageFormat (Results 51 - 75 of 119) sorted by null

1 23 4 5

  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
PluralFormatUnitTest.java 28 import com.ibm.icu.text.MessageFormat;
304 MessageFormat pfmt = new MessageFormat("The disk ''{0}'' contains {1, plural, one {one ''''{1, number, #.0}'''' widget} other {# widgets}}.");
316 MessageFormat pfmt2 = new MessageFormat(pfmt.toPattern());
340 MessageFormat mf = new MessageFormat("{0,plural," + pluralStyle + "}", ULocale.ENGLISH);
347 assertEquals("MessageFormat.format(value " + i + ")", targets[i], result);
  /external/cldr/tools/java/org/unicode/cldr/icu/
BreakIteratorMapper.java 15 import com.ibm.icu.text.MessageFormat;
88 MessageFormat.format("/{0}/{1}:process(dependency)", element2.split(":")[1], extType), filename); // "Laoo", "laodict.dict"
CollationMapper.java 23 import com.ibm.icu.text.MessageFormat;
88 MessageFormat.format("/{0}:process({1})", matcher.group(1), matcher.group(2)),
  /external/jline/src/src/main/java/jline/
CandidateListCompletionHandler.java 10 import java.text.MessageFormat;
98 reader.printString(MessageFormat.format
  /external/slf4j/jul-to-slf4j/src/main/java/org/slf4j/bridge/
SLF4JBridgeHandler.java 27 import java.text.MessageFormat;
264 message = MessageFormat.format(message, params);
  /external/conscrypt/openjdk/src/main/java/org/conscrypt/
NativeLibraryLoader.java 46 import java.text.MessageFormat;
191 throw new IOException(MessageFormat.format("{0} exists but cannot be executed even "
205 MessageFormat.format("Failed creating temp file ({0})",
416 debug(MessageFormat.format(format, arg1, arg2), t);
  /external/conscrypt/repackaged/openjdk/src/main/java/com/android/org/conscrypt/
NativeLibraryLoader.java 47 import java.text.MessageFormat;
192 throw new IOException(MessageFormat.format("{0} exists but cannot be executed even "
206 MessageFormat.format("Failed creating temp file ({0})",
417 debug(MessageFormat.format(format, arg1, arg2), t);
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
RelativeDateFormat.java 23 import android.icu.text.MessageFormat;
216 private MessageFormat fCombinedFormat; // the {0} {1} format.
338 private MessageFormat initializeCombinedFormat(Calendar cal, ULocale locale) {
371 fCombinedFormat = new MessageFormat(pattern, locale);
TimeZoneGenericNames.java 16 import java.text.MessageFormat;
119 private transient MessageFormat[] _patternFormatters;
301 _patternFormatters = new MessageFormat[Pattern.values().length];
303 _patternFormatters[patType.ordinal()] = new MessageFormat(patStr);
438 * and partial location names. We intentionally use JDK MessageFormat
447 _patternFormatters = new MessageFormat[Pattern.values().length];
461 _patternFormatters[idx] = new MessageFormat(patText);
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
RelativeDateFormat.java 22 import com.ibm.icu.text.MessageFormat;
213 private MessageFormat fCombinedFormat; // the {0} {1} format.
335 private MessageFormat initializeCombinedFormat(Calendar cal, ULocale locale) {
368 fCombinedFormat = new MessageFormat(pattern, locale);
TimeZoneGenericNames.java 15 import java.text.MessageFormat;
115 private transient MessageFormat[] _patternFormatters;
297 _patternFormatters = new MessageFormat[Pattern.values().length];
299 _patternFormatters[patType.ordinal()] = new MessageFormat(patStr);
434 * and partial location names. We intentionally use JDK MessageFormat
443 _patternFormatters = new MessageFormat[Pattern.values().length];
457 _patternFormatters[idx] = new MessageFormat(patText);
    [all...]
  /external/cldr/tools/java/org/unicode/cldr/tool/
GenerateLanguageData.java 28 import com.ibm.icu.text.MessageFormat;
37 MessageFormat nameFmt = new MessageFormat("{0,plural, one{# other name} other{# other names}}");
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
SimpleFormatterTest.java 17 import android.icu.text.MessageFormat;
274 MessageFormat mf = new MessageFormat(pattern, ULocale.ROOT);
276 assertEquals("MessageFormat", expected, mf.format(new Object[] { "X", "Y" }));
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
SimpleFormatterTest.java 16 import com.ibm.icu.text.MessageFormat;
271 MessageFormat mf = new MessageFormat(pattern, ULocale.ROOT);
273 assertEquals("MessageFormat", expected, mf.format(new Object[] { "X", "Y" }));
  /external/junit/src/main/java/org/junit/runners/
Parameterized.java 8 import java.text.MessageFormat;
188 * @return {@link MessageFormat} pattern string, except the index
190 * @see MessageFormat
337 String message = MessageFormat.format(
347 String name = MessageFormat.format(finalPattern, parameters);
  /external/slf4j/jul-to-slf4j/src/test/java/org/slf4j/bridge/
SLF4JBridgeHandlerTest.java 27 import java.text.MessageFormat;
135 String expectedMsg2 = MessageFormat.format(bundle.getString(resourceKey2), params2);
140 String expectedMsg3 = MessageFormat.format(resourceKey3, params3);
  /external/icu/android_icu4j/src/main/java/android/icu/text/
MessageFormat.java 50 * <strong>[icu enhancement]</strong> ICU's replacement for {@link java.text.MessageFormat}.&nbsp;Methods, fields, and other functionality specific to ICU are labeled '<strong>[icu]</strong>'.
52 * <p>MessageFormat prepares strings for display to users,
57 * <p>A MessageFormat is constructed from a <em>pattern</em> string
60 * <p><code>MessageFormat</code> differs from the other <code>Format</code>
61 * classes in that you create a <code>MessageFormat</code> object with one
63 * method). Factory methods aren't necessary because <code>MessageFormat</code>
80 * <p>An argument might have a "complex" type with nested MessageFormat sub-patterns.
91 * <p>When formatting, MessageFormat takes a collection of argument values
105 * <code>MessageFormat</code> uses patterns of the following form:
146 * only in program syntax, like quoting in MessageFormat
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
MessageFormat.java 49 * {@icuenhanced java.text.MessageFormat}.{@icu _usage_}
51 * <p>MessageFormat prepares strings for display to users,
56 * <p>A MessageFormat is constructed from a <em>pattern</em> string
59 * <p><code>MessageFormat</code> differs from the other <code>Format</code>
60 * classes in that you create a <code>MessageFormat</code> object with one
62 * method). Factory methods aren't necessary because <code>MessageFormat</code>
79 * <p>An argument might have a "complex" type with nested MessageFormat sub-patterns.
90 * <p>When formatting, MessageFormat takes a collection of argument values
104 * <code>MessageFormat</code> uses patterns of the following form:
145 * only in program syntax, like quoting in MessageFormat
    [all...]
  /cts/tests/DropBoxManager/src/android/dropboxmanager/cts/
DropBoxTests.java 45 import java.text.MessageFormat;
331 final String putCmd = MessageFormat.format(ADD_LOW_PRIORITY_SHELL_COMMAND, tag);
336 final String putCmd = MessageFormat.format(SET_RATE_LIMIT_SHELL_COMMAND,
  /external/cldr/tools/java/org/unicode/cldr/util/
TimezoneFormatter.java 31 import com.ibm.icu.text.MessageFormat;
120 private transient MessageFormat gmtFormat, regionFormat,
163 gmtFormat = new MessageFormat(getStringValue("//ldml/dates/timeZoneNames/gmtFormat"));
164 regionFormat = new MessageFormat(getStringValue("//ldml/dates/timeZoneNames/regionFormat"));
165 regionFormatStandard = new MessageFormat(getStringValue("//ldml/dates/timeZoneNames/regionFormat[@type=\"standard\"]"));
166 regionFormatDaylight = new MessageFormat(getStringValue("//ldml/dates/timeZoneNames/regionFormat[@type=\"daylight\"]"));
167 fallbackFormat = new MessageFormat(getStringValue("//ldml/dates/timeZoneNames/fallbackFormat"));
424 private String getRegionFallback(String zoneid, MessageFormat regionFallbackFormat) {
    [all...]
  /external/emma/core/java12/com/vladium/util/exception/
ExceptionCommon.java 13 import java.text.MessageFormat;
303 * @param arguments java.text.MessageFormat-style parameters to be substituted
329 return MessageFormat.format (pattern, arguments);
  /external/cldr/tools/java/org/unicode/cldr/util/props/
BagFormatter.java 11 import java.text.MessageFormat;
408 private MessageFormat inOut = new MessageFormat("In {0}, but not in {1}:");
409 private MessageFormat outIn = new MessageFormat("Not in {0}, but in {1}:");
410 private MessageFormat inIn = new MessageFormat("In both {0}, and in {1}:");
    [all...]
  /external/icu/icu4c/source/i18n/unicode/
plurfmt.h 75 * <p>Note: Typically, plural formatting is done via <code>MessageFormat</code>
98 * message: see {@link MessageFormat}
123 * need special number formatting, you have to use a <code>MessageFormat</code>
129 * For a usage example, see the {@link MessageFormat} class documentation.
596 friend class MessageFormat;
  /external/apache-commons-math/src/main/java/org/apache/commons/math/
MathRuntimeException.java 23 import java.text.MessageFormat;
58 * Message formatting is delegated to {@link java.text.MessageFormat}.
71 * Message formatting is delegated to {@link java.text.MessageFormat}.
97 * Message formatting is delegated to {@link java.text.MessageFormat}.
113 * Message formatting is delegated to {@link java.text.MessageFormat}.
137 return new MessageFormat(pattern.getLocalizedString(locale), locale).format(arguments);
223 * Message formatting is delegated to {@link java.text.MessageFormat}.
237 * Message formatting is delegated to {@link java.text.MessageFormat}.
267 * Message formatting is delegated to {@link java.text.MessageFormat}.
281 * Message formatting is delegated to {@link java.text.MessageFormat}
    [all...]
  /external/cldr/tools/java/org/unicode/cldr/test/
CasingInfo.java 33 import com.ibm.icu.text.MessageFormat;
210 String path = MessageFormat.format("//ldml/metadata/casingData/casingItem[@type=\"{0}\"][@override=\"true\"]", category);

Completed in 1916 milliseconds

1 23 4 5