public class HomeDirResourceLoader extends Object implements ResourceLoader
Modifier and Type | Field and Description |
---|---|
protected static String |
USER_HOME |
DEFAULT_LOADER, DICTIONARY_LOADER
Constructor and Description |
---|
HomeDirResourceLoader()
Create the
HomeDirResourceLoader . |
HomeDirResourceLoader(ResourceLoader loader)
Create resource loader.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
loadResource(String resourceName)
Method to load resource.
|
protected static final String USER_HOME
public HomeDirResourceLoader()
HomeDirResourceLoader
.
The parent loader is DummyResourceLoader.public HomeDirResourceLoader(ResourceLoader loader)
loader
- the parent loaderpublic InputStream loadResource(String resourceName) throws ResourceNotFoundException
ResourceLoader
loadResource
in interface ResourceLoader
resourceName
- the resource nameResourceNotFoundException
- if resource not found and no parent ResrourceLoader availableResourceLoader.loadResource(String)
Copyright © 2000–2022 EPAM Systems. All rights reserved.