Home
last modified time | relevance | path

Searched refs:ResourceBundle (Results 1 – 25 of 25) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DResourceBundleTest.java28 import java.util.ResourceBundle;
37ResourceBundle.Control c = ResourceBundle.Control.getControl(ResourceBundle.Control.FORMAT_DEFAULT… in test_getCandidateLocales()
44 ResourceBundle bundle = ResourceBundle.getBundle(name); in test_getBaseName()
47 bundle = ResourceBundle.getBundle(name, Locale.getDefault()); in test_getBaseName()
58 ResourceBundle bundle; in test_getBundleLjava_lang_StringLjava_util_Locale()
63 bundle = ResourceBundle.getBundle(name, new Locale("fr", "FR", "VAR")); in test_getBundleLjava_lang_StringLjava_util_Locale()
66 bundle = ResourceBundle.getBundle(name, new Locale("fr", "FR", "v1")); in test_getBundleLjava_lang_StringLjava_util_Locale()
69 bundle = ResourceBundle.getBundle(name, new Locale("fr", "US", "VAR")); in test_getBundleLjava_lang_StringLjava_util_Locale()
72 bundle = ResourceBundle.getBundle(name, new Locale("de", "FR", "VAR")); in test_getBundleLjava_lang_StringLjava_util_Locale()
76 bundle = ResourceBundle.getBundle(name, new Locale("de", "FR", "v1")); in test_getBundleLjava_lang_StringLjava_util_Locale()
[all …]
DMissingResourceExceptionTest.java22 import java.util.ResourceBundle;
38 ResourceBundle.getBundle("Non-ExistentBundle"); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String()
52 ResourceBundle.getBundle("Non-ExistentBundle"); in test_getClassName()
66 ResourceBundle.getBundle("Non-ExistentBundle"); in test_getKey()
DSampleBundleClass.java20 import java.util.ResourceBundle;
28 private static ResourceBundle bundle;
37 bundle = ResourceBundle.getBundle("tests.api.simple.SampleBundleClass"); in SampleBundleClass()
DListResourceBundleTest.java23 import java.util.ResourceBundle;
31 ResourceBundle bundle; in test_getKeys()
34 bundle = ResourceBundle.getBundle(name, new Locale("fr", "FR", "VAR")); in test_getKeys()
53 bundle = (ListResourceBundle) ResourceBundle.getBundle(name, new Locale("fr", "FR", "VAR")); in test_handleGetObjectLjava_lang_String()
DPropertyResourceBundleTest.java32 import java.util.ResourceBundle;
177 protected void setParent(ResourceBundle bundle) { in test_access$0_Enumeration()
DControlTest.java37 import java.util.ResourceBundle;
38 import java.util.ResourceBundle.Control;
40 import static java.util.ResourceBundle.Control.*;
462 ResourceBundle bundle = null; in test_needsReload_LStringLLocaleLStringLClassLoaderResourceBundleJ()
500 ResourceBundle otherBundle = control.newBundle(propertiesName, in test_needsReload_LStringLLocaleLStringLClassLoaderResourceBundleJ()
/libcore/ojluni/src/main/java/sun/security/util/
DResourcesMgr.java33 private static java.util.ResourceBundle bundle;
36 private static java.util.ResourceBundle altBundle;
44 new java.security.PrivilegedAction<java.util.ResourceBundle>() { in getString()
45 public java.util.ResourceBundle run() { in getString()
47 return java.util.ResourceBundle.getBundle(Resources.class.getName()); in getString()
61 new java.security.PrivilegedAction<java.util.ResourceBundle>() { in getString()
62 public java.util.ResourceBundle run() { in getString()
63 return (java.util.ResourceBundle.getBundle(altBundleName)); in getString()
/libcore/ojluni/src/main/java/java/util/
DResourceBundle.java282 public abstract class ResourceBundle { class
288 private static final ResourceBundle NONEXISTENT_BUNDLE = new ResourceBundle() {
338 protected ResourceBundle parent = null;
388 public ResourceBundle() { in ResourceBundle() method in ResourceBundle
526 protected void setParent(ResourceBundle parent) { in setParent()
736 private static class BundleReference extends SoftReference<ResourceBundle>
740 BundleReference(ResourceBundle referent, ReferenceQueue<Object> q, CacheKey key) { in BundleReference()
769 public static final ResourceBundle getBundle(String baseName) in getBundle()
811 public static final ResourceBundle getBundle(String baseName, in getBundle()
840 public static final ResourceBundle getBundle(String baseName, in getBundle()
[all …]
DPropertyResourceBundle.java122 public class PropertyResourceBundle extends ResourceBundle {
180 ResourceBundle parent = this.parent; in getKeys()
DListResourceBundle.java118 public abstract class ListResourceBundle extends ResourceBundle {
152 ResourceBundle parent = this.parent; in getKeys()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/support/
DP.java20 import java.util.ResourceBundle;
36 ResourceBundle b = ResourceBundle.getBundle(cls.getName()); in findProp()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/support/
DP.java3 import java.util.ResourceBundle;
19 ResourceBundle b = ResourceBundle.getBundle(cls.getName()); in findProp()
/libcore/ojluni/src/main/java/java/util/logging/
DLogRecord.java141 private transient ResourceBundle resourceBundle;
215 public ResourceBundle getResourceBundle() { in getResourceBundle()
224 public void setResourceBundle(ResourceBundle bundle) { in setResourceBundle()
525 final ResourceBundle bundle = in readObject()
526 ResourceBundle.getBundle(resourceBundleName, in readObject()
538 … resourceBundle = ResourceBundle.getBundle(resourceBundleName, Locale.getDefault(), in readObject()
DLogger.java36 import java.util.ResourceBundle;
227 final ResourceBundle userBundle; // Bundle set through setResourceBundle.
228 private LoggerBundle(String resourceBundleName, ResourceBundle bundle) { in LoggerBundle()
235 static LoggerBundle get(String name, ResourceBundle bundle) { in get()
266 private ResourceBundle catalog; // Cached resource bundle
663 public ResourceBundle getResourceBundle() { in getResourceBundle()
759 final ResourceBundle bundle = lb.userBundle; in doLog()
1097 private void doLog(LogRecord lr, ResourceBundle rb) { in doLog()
1235 ResourceBundle bundle, String msg, Object... params) { in logrb()
1316 ResourceBundle bundle, String msg, Throwable thrown) { in logrb()
[all …]
DFormatter.java115 java.util.ResourceBundle catalog = record.getResourceBundle(); in formatMessage()
DLevel.java32 import java.util.ResourceBundle;
268 ResourceBundle rb = ResourceBundle.getBundle(resourceBundleName, newLocale, in computeLocalizedLevelName()
DXMLFormatter.java163 ResourceBundle bundle = record.getResourceBundle(); in format()
/libcore/ojluni/annotations/hiddenapi/sun/security/util/
DResourcesMgr.java44 private static java.util.ResourceBundle altBundle;
46 private static java.util.ResourceBundle bundle;
/libcore/ojluni/src/main/java/sun/util/resources/
DOpenListResourceBundle.java47 import java.util.ResourceBundle;
61 public abstract class OpenListResourceBundle extends ResourceBundle {
85 ResourceBundle parentBundle = this.parent; in getKeys()
/libcore/ojluni/annotations/hiddenapi/java/util/logging/
DLogger.java96 public java.util.ResourceBundle getResourceBundle() { in getResourceBundle()
207 private void doLog(java.util.logging.LogRecord lr, java.util.ResourceBundle rb) { in doLog()
247 java.util.ResourceBundle bundle, in logrb()
268 java.util.ResourceBundle bundle, in logrb()
407 private static java.util.ResourceBundle findSystemResourceBundle(java.util.Locale locale) { in findSystemResourceBundle()
411 private synchronized java.util.ResourceBundle findResourceBundle( in findResourceBundle()
421 public void setResourceBundle(java.util.ResourceBundle bundle) { in setResourceBundle()
469 private java.util.ResourceBundle catalog;
533 private LoggerBundle(java.lang.String resourceBundleName, java.util.ResourceBundle bundle) { in LoggerBundle()
542 java.lang.String name, java.util.ResourceBundle bundle) { in get()
[all …]
/libcore/ojluni/annotations/sdk/nullability/java/util/logging/
DLogger.annotated.java31 import java.util.ResourceBundle;
50 @libcore.util.Nullable public java.util.ResourceBundle getResourceBundle() { throw new RuntimeExcep… in getResourceBundle()
93 …able java.lang.String sourceMethod, @libcore.util.Nullable java.util.ResourceBundle bundle, @libco… in logrb()
98 …able java.lang.String sourceMethod, @libcore.util.Nullable java.util.ResourceBundle bundle, @libco… in logrb()
158 public void setResourceBundle(@libcore.util.NonNull java.util.ResourceBundle bundle) { throw new Ru… in setResourceBundle()
/libcore/luni/src/test/java/libcore/java/util/logging/
DOldLoggerTest.java22 import java.util.ResourceBundle;
82 ResourceBundle rb = mlog.getResourceBundle(); in testConstructor_Normal()
/libcore/ojluni/src/test/java/time/test/java/time/temporal/
DTestChronoField.java69 import java.util.ResourceBundle;
/libcore/expectations/
Dknownfailures.txt33 "java.util.ResourceBundle.Control.StressTest",
/libcore/
Dopenjdk_java_files.bp1159 "ojluni/src/main/java/java/util/ResourceBundle.java",