Searched defs:resource (Results 1 - 9 of 9) sorted by relevance

/dalvik/libcore/support/src/test/java/tests/support/
H A DSupport_GetResource.java22 public static String getResourceURL(String resource) { argument
23 return "http://" + Support_Configuration.TestResources + resource;
/dalvik/libcore/security/src/main/java/org/bouncycastle/i18n/
H A DMissingEntryException.java6 protected final String resource; field in class:MissingEntryException
9 public MissingEntryException(String message, String resource, String key) argument
12 this.resource = resource;
23 return resource;
H A DErrorBundle.java20 * Constructs a new ErrorBundle using <code>resource</code> as the base name for the
21 * RessourceBundle and <code>id</code> as the message bundle id the resource file.
22 * @param resource base name of the resource file
23 * @param id the id of the corresponding bundle in the resource file
24 * @throws NullPointerException if <code>resource</code> or <code>id</code> is <code>null</code>
26 public ErrorBundle(String resource, String id) throws NullPointerException argument
28 super(resource, id);
32 * Constructs a new ErrorBundle using <code>resource</code> as the base name for the
33 * RessourceBundle and <code>id</code> as the message bundle id the resource fil
39 ErrorBundle(String resource, String id, Object[] arguments) argument
[all...]
H A DMessageBundle.java15 * Constructs a new MessageBundle using <code>resource</code> as the base name for the
16 * RessourceBundle and <code>id</code> as the message bundle id the resource file.
17 * @param resource base name of the resource file
18 * @param id the id of the corresponding bundle in the resource file
19 * @throws NullPointerException if <code>resource</code> or <code>id</code> is <code>null</code>
21 public MessageBundle(String resource, String id) throws NullPointerException argument
23 super(resource, id);
27 * Constructs a new MessageBundle using <code>resource</code> as the base name for the
28 * RessourceBundle and <code>id</code> as the message bundle id the resource fil
34 MessageBundle(String resource, String id, Object[] arguments) argument
[all...]
H A DTextBundle.java15 * Constructs a new TextBundle using <code>resource</code> as the base name for the
16 * RessourceBundle and <code>id</code> as the message bundle id the resource file.
17 * @param resource base name of the resource file
18 * @param id the id of the corresponding bundle in the resource file
19 * @throws NullPointerException if <code>resource</code> or <code>id</code> is <code>null</code>
21 public TextBundle(String resource, String id) throws NullPointerException argument
23 super(resource, id);
27 * Constructs a new TextBundle using <code>resource</code> as the base name for the
28 * RessourceBundle and <code>id</code> as the message bundle id the resource fil
34 TextBundle(String resource, String id, Object[] arguments) argument
[all...]
H A DLocalizedMessage.java18 protected final String resource; field in class:LocalizedMessage
26 * Constructs a new LocalizedMessage using <code>resource</code> as the base name for the
27 * RessourceBundle and <code>id</code> as the message bundle id the resource file.
28 * @param resource base name of the resource file
29 * @param id the id of the corresponding bundle in the resource file
30 * @throws NullPointerException if <code>resource</code> or <code>id</code> is <code>null</code>
32 public LocalizedMessage(String resource,String id) throws NullPointerException argument
34 if (resource == null || id == null)
39 this.resource
52 LocalizedMessage(String resource, String id, Object[] arguments) argument
[all...]
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/
H A DMsgHelp.java37 * This class contains helper methods for loading resource bundles and
43 // A HashMap mapping a resource name to a SoftReference to a ResourceBundle
44 // holding the messages for that resource.
47 public synchronized static ResourceBundle loadBundle(String resource) { argument
51 SoftReference<ResourceBundle> bundleRef = sRefMap.get(resource);
56 resource);
58 sRefMap.put(resource, bundleRef);
70 public static String getString(String resource, String msg) { argument
71 ResourceBundle bundle = MsgHelp.loadBundle(resource);
82 static public String getString(String resource, Strin argument
169 setLocale(final Locale locale, final String resource) argument
[all...]
/dalvik/libcore/support/src/test/java/tests/support/resource/
H A DSupport_Resources.java18 package tests.support.resource;
139 public static String getResourceURL(String resource) { argument
140 return "http://" + Support_Configuration.TestResources + resource;
144 * Util method to load resource files
146 * @param name - name of resource file
147 * @return - resource input stream
157 throw new RuntimeException("Failed to load resource: " + name);
165 * Util method to write resource files directly to an OutputStream.
167 * @param name - name of resource file.
190 * Util method to get absolute path to resource fil
[all...]
/dalvik/libcore/
H A DJavaLibrary.mk33 define all-core-resource-dirs
39 core_resource_dirs := $(call all-core-resource-dirs,main)
43 test_resource_dirs := $(call all-core-resource-dirs,test)
89 # resource with a "#" in its name, but Perforce doesn't

Completed in 188 milliseconds