public class ResourceHelper extends Object
Constructor and Description |
---|
ResourceHelper() |
Modifier and Type | Method and Description |
---|---|
static InputStream |
getResourceStream(String bundle,
String path)
Returns an
InputStream for a given resource within a bundle. |
public static InputStream getResourceStream(String bundle, String path) throws IOException
InputStream
for a given resource within a bundle.bundle
- qualified name of the bundle to resolvepath
- full path of the file to loadIOException
- on access errors on the resource