public interface ResourceProvider
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
getBinaryResource(java.lang.String name)
Loads a binary resource
|
PropertyFile |
getPropertyResource(java.lang.String name)
Loads a resource containing a property file
|
java.io.Reader |
getTextResource(java.lang.String name)
Loads a text resource.
|
java.io.InputStream getBinaryResource(java.lang.String name)
throws ResourceNotFoundException
name - the resource name, expressed as a path (see the comments on ResourceProvider)ResourceNotFoundExceptionjava.io.Reader getTextResource(java.lang.String name)
throws ResourceNotFoundException
name - the resource name, expressed as a path using / as a separator characterResourceNotFoundExceptionPropertyFile getPropertyResource(java.lang.String name) throws ResourceNotFoundException
name - the resource name, expressed as a path with / characters to separateResourceNotFoundExceptionCopyright © 2014. All Rights Reserved.