public interface ResourceLoader
ResourceLoader
is the interface defining external resource locating and loading
capabilities.Modifier and Type | Interface and Description |
---|---|
static class |
ResourceLoader.Type
An indicator for the type of a resource to be loaded by a resource loader.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
getResourceStream(String resourceName,
ResourceLoader.Type type)
Returns an
InputStream for the requested resource. |
InputStream getResourceStream(String resourceName, ResourceLoader.Type type) throws IOException
InputStream
for the requested resource.resourceName
- the name of the resource to be usedtype
- the type of resource to be returnedIOException
- if an I/O error occurred when trying to create the streamCopyright © 2024 levigo holding gmbh. All rights reserved.