public abstract class AbstractExplicitTreeVfs extends AbstractVfs
Copyright 2009-2012 Partner Software, Inc.
| Constructor and Description |
|---|
AbstractExplicitTreeVfs() |
| Modifier and Type | Method and Description |
|---|---|
protected VfsDirectory |
addDirectoryEntry(Path path)
Adds a directory entry to the index, and automatically adds all parent directories as well.
|
protected void |
addFileEntry(VfsFile file)
Adds a file entry to the index, and automatically adds all parent directories as well.
|
abstract void |
close() |
VfsDirectory |
directoryFor(Path path)
Returns a VfsDirectory for the given path.
|
VfsDirectory |
directoryFor(java.lang.String pathString)
Returns a VfsDirectory for the given path.
|
VfsFile |
fileFor(Path path)
Returns a VfsFile for the given path.
|
VfsFile |
fileFor(java.lang.String pathString)
Returns a VfsFile for the given path string.
|
boolean |
isWritable()
True if this module supports writing.
|
abstract void |
open() |
getBufferSize, getDisableOptimizations, getVerifyTransfers, setBufferSize, setDisableOptimizations, setVerifyTransfersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAbsolutePathpublic AbstractExplicitTreeVfs()
throws java.io.IOException
java.io.IOExceptionpublic abstract void open()
throws java.io.IOException
java.io.IOExceptionpublic abstract void close()
throws java.io.IOException
java.io.IOExceptionpublic VfsDirectory directoryFor(Path path)
Vfspath - to directorypublic VfsDirectory directoryFor(java.lang.String pathString)
VfspathString - string-encoded path to directorypublic VfsFile fileFor(Path path)
Vfspath - to filepublic VfsFile fileFor(java.lang.String pathString)
VfspathString - string-encoded path to filepublic boolean isWritable()
Vfsprotected void addFileEntry(VfsFile file)
protected VfsDirectory addDirectoryEntry(Path path)