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