public class FileSystemStore extends java.lang.Object implements StreamingStore
| Constructor and Description |
|---|
FileSystemStore() |
FileSystemStore(java.lang.String rootDirName) |
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getRootDir() |
java.lang.String |
getRootDirName() |
java.io.Reader |
readerFor(java.lang.String storagePath)
Returns an input stream for the given storage path.
|
void |
setRootDirName(java.lang.String newName) |
java.io.Writer |
writerFor(java.lang.String storagePath)
Since this is a read-only store, always throws a StoreException.
|
public FileSystemStore()
public FileSystemStore(java.lang.String rootDirName)
public java.io.Reader readerFor(java.lang.String storagePath)
readerFor in interface StreamingStorepublic java.io.Writer writerFor(java.lang.String storagePath)
throws StoreException
writerFor in interface StreamingStoreStoreExceptionpublic java.lang.String getRootDirName()
public void setRootDirName(java.lang.String newName)
public java.io.File getRootDir()