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