public class CurrentDirResourceLoader extends Object implements ResourceLoader
DEFAULT_LOADER, DICTIONARY_LOADER
Constructor and Description |
---|
CurrentDirResourceLoader()
Create
CurrentDirResourceLoader . |
CurrentDirResourceLoader(ResourceLoader loader)
Creates
CurrentDirResourceLoader . |
Modifier and Type | Method and Description |
---|---|
InputStream |
loadResource(String resourceName)
Method to load resource.
|
public CurrentDirResourceLoader()
CurrentDirResourceLoader
.
The parent loader is DummyResourceLoader.public CurrentDirResourceLoader(ResourceLoader loader)
CurrentDirResourceLoader
.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.