org.jboss.seam.core
@Scope(value=STATELESS) @BypassInterceptors @Install(precedence=0) @Name(value="org.jboss.seam.core.resourceLoader") public class ResourceLoader extends Object
Constructor and Description |
---|
ResourceLoader() |
Modifier and Type | Method and Description |
---|---|
String[] |
getBundleNames()
The configurable list of delegate resource bundle names
|
URL |
getResource(String resource) |
InputStream |
getResourceAsStream(String resource) |
static ResourceLoader |
instance() |
ResourceBundle |
loadBundle(String bundleName)
Load a resource bundle by name (may be overridden by subclasses
who want to use non-standard resource bundle types).
|
void |
setBundleNames(String[] bundleNames) |
String |
toString() |
public String[] getBundleNames()
public void setBundleNames(String[] bundleNames)
public InputStream getResourceAsStream(String resource)
public ResourceBundle loadBundle(String bundleName)
bundleName
- the name of the resource bundlepublic static ResourceLoader instance()
Copyright © 2015 Seam Framework. All Rights Reserved.