org.jicarilla.io
Class FilesystemImpl
java.lang.Object
org.jicarilla.io.FilesystemImpl
- All Implemented Interfaces:
- Filesystem
- public class FilesystemImpl
- extends java.lang.Object
- implements Filesystem
- Version:
- $Id: FilesystemImpl.java,v 1.3 2004/01/11 12:34:23 lsimons Exp $
- Author:
- Leo Simons
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_rootDirectory
protected java.io.File m_rootDirectory
m_openFiles
protected java.util.Map m_openFiles
FilesystemImpl
public FilesystemImpl(java.lang.String rootDirectory)
getRootDirectory
protected java.io.File getRootDirectory()
setRootDirectory
protected void setRootDirectory(java.io.File root)
getOpenFiles
protected java.util.Map getOpenFiles()
setOpenFiles
protected void setOpenFiles(java.util.Map openFiles)
getFile
public java.nio.channels.ReadableByteChannel getFile(java.lang.String relativePath)
throws java.io.FileNotFoundException
- Specified by:
getFile in interface Filesystem
- Throws:
java.io.FileNotFoundException
returnFile
public void returnFile(java.nio.channels.ReadableByteChannel channel)
- Specified by:
returnFile in interface Filesystem
Copyright © 2004 Leo Simons. All Rights Reserved.