public final class FileSystemLocator extends Object implements ResourceLocator
Constructor and Description |
---|
FileSystemLocator() |
Modifier and Type | Method and Description |
---|---|
List<String> |
findResources(String pattern)
Unsupported by this class.
|
InputStream |
getResourceAsStream(String resourceName)
Locate resource by name and return it as an input stream.
|
public List<String> findResources(String pattern)
findResources
in interface ResourceLocator
pattern
- a regular expression for the name
of resources to be retrieved.public InputStream getResourceAsStream(String resourceName)
getResourceAsStream
in interface ResourceLocator
resourceName
- the name of the resource to be located.Copyright © 2018. All rights reserved.