Lines Matching defs:resourceName
286 public static String getResource(String resourceName) throws FileNotFoundException {
287 return getResourceFromBundle(resourceName, null, null);
295 public static String getResource(String resourceName, String subDirName) throws FileNotFoundException {
296 return getResourceFromBundle(resourceName, subDirName, null);
318 public static String getResource(String resourceName, String subDirName, String type) throws FileNotFoundException {
319 return getResourceFromBundle(resourceName, subDirName, type);
322 private static native String getNativeResourceFromBundle(String resourceName, String subDirName, String type) throws FileNotFoundException;
323 private static String getResourceFromBundle(String resourceName, String subDirName, String type) throws FileNotFoundException {
327 final String resourceFromBundle = getNativeResourceFromBundle(resourceName, subDirName, type);
328 if (resourceFromBundle == null) throw new FileNotFoundException(resourceName);