/** * Finds the resource with the given name. * * @param name Name of the desired resource. * @return An input stream to the object, or <jk>null</jk> if the resource could not be found. * @throws IOException */ public InputStream getStream(String name) throws IOException { return getStream(name, null); }
/** * Finds the resource with the given name for the specified locale and returns it as an input stream. * * @param name Name of the desired resource. * @param locale The locale. Can be <jk>null</jk>. * @return An input stream to the object, or <jk>null</jk> if the resource could not be found. * @throws IOException */ public InputStream getStream(String name, Locale locale) throws IOException { return getStream(baseClass, name, locale); }
/** * Finds the resource with the given name. * * @param name Name of the desired resource. * @return An input stream to the object, or <jk>null</jk> if the resource could not be found. * @throws IOException */ public InputStream getStream(String name) throws IOException { return getStream(name, null); }
/** * Finds the resource with the given name. * * @param name Name of the desired resource. * @return An input stream to the object, or <jk>null</jk> if the resource could not be found. * @throws IOException */ public InputStream getStream(String name) throws IOException { return getStream(name, null); }
/** * Finds the resource with the given name for the specified locale and returns it as an input stream. * * @param name Name of the desired resource. * @param locale The locale. Can be <jk>null</jk>. * @return An input stream to the object, or <jk>null</jk> if the resource could not be found. * @throws IOException */ public InputStream getStream(String name, Locale locale) throws IOException { return getStream(baseClass, name, locale); }
/** * Finds the resource with the given name for the specified locale and returns it as an input stream. * * @param name Name of the desired resource. * @param locale The locale. Can be <jk>null</jk>. * @return An input stream to the object, or <jk>null</jk> if the resource could not be found. * @throws IOException */ public InputStream getStream(String name, Locale locale) throws IOException { return getStream(baseClass, name, locale); }
return staticResourceManager.getStream(baseClass, name, locale);
return staticResourceManager.getStream(baseClass, name, locale);
return staticResourceManager.getStream(baseClass, name, locale);
return staticResourceManager.getStream(name, locale);
return staticResourceManager.getStream(name, locale);
return staticResourceManager.getStream(name, locale);