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