org.spicefactory.cinnamon.config.resource
Class FileSystemResource
java.lang.Object
org.spicefactory.cinnamon.config.resource.AbstractResource
org.spicefactory.cinnamon.config.resource.FileSystemResource
- All Implemented Interfaces:
- Resource
public class FileSystemResource
- extends AbstractResource
Resource implementation for file system resources.
- Author:
- Jens Halm
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileSystemResource
public FileSystemResource(String path)
- Creates a new file system resource for the given path.
- Parameters:
path - the path of the resource (may be relative to the current working directory)
getInputStream
public InputStream getInputStream()
- Description copied from interface:
Resource
- Creates an InputStream for this Resource.
- Returns:
- an InputStream for this Resource