org.fcrepo.server.storage.lowlevel
Class GenericFileSystem
java.lang.Object
org.fcrepo.server.storage.lowlevel.FileSystem
org.fcrepo.server.storage.lowlevel.GenericFileSystem
public class GenericFileSystem
- extends FileSystem
- Version:
- $Id$
- Author:
- Bill Niebel
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericFileSystem
public GenericFileSystem(Map<String,?> configuration)
write
public final void write(File file,
InputStream content)
throws LowlevelStorageException
- Specified by:
write in class FileSystem
- Throws:
LowlevelStorageException
rewrite
public void rewrite(File file,
InputStream content)
throws LowlevelStorageException
- Specified by:
rewrite in class FileSystem
- Throws:
LowlevelStorageException
read
public final InputStream read(File file)
throws LowlevelStorageException
- Specified by:
read in class FileSystem
- Throws:
LowlevelStorageException
delete
public final void delete(File file)
throws LowlevelStorageException
- Specified by:
delete in class FileSystem
- Throws:
LowlevelStorageException
list
public String[] list(File d)
- Specified by:
list in class FileSystem
isDirectory
public boolean isDirectory(File f)
- Specified by:
isDirectory in class FileSystem
Copyright © 2011 DuraSpace. All Rights Reserved.