public class FileSystemResourceRepository extends Object implements ResourceRepository
ResourceRepository
based on a local file
system directory.Constructor and Description |
---|
FileSystemResourceRepository(File directory) |
Modifier and Type | Method and Description |
---|---|
File |
getResource(String filePath)
Get file object for given relative file path in repository
|
File |
getWorkingDirectory() |
public FileSystemResourceRepository(File directory)
directory
- The root of local file system where configuration files
are storedpublic final File getWorkingDirectory()
public File getResource(String filePath)
ResourceRepository
getResource
in interface ResourceRepository
filePath
- File path relative to the root of repositoryCopyright © 2009–2014. All rights reserved.