public class YonderVfs extends AbstractVfs
Copyright 2004-2008 Partner Software, Inc.
| Constructor and Description |
|---|
YonderVfs(java.lang.String serverName) |
YonderVfs(java.lang.String serverName,
Path root) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect() |
VfsDirectory |
directoryFor(Path path)
Returns a VfsDirectory for the given path.
|
VfsDirectory |
directoryFor(java.lang.String subPathString)
Returns a VfsDirectory for the given path.
|
void |
disconnect() |
VfsFile |
fileFor(Path path)
Returns a VfsFile for the given path.
|
VfsFile |
fileFor(java.lang.String subPathString)
Returns a VfsFile for the given path string.
|
Path |
getAbsolutePath()
Absolute path to the root of this Vfs.
|
boolean |
isCompressing() |
boolean |
isWritable()
True if this module supports writing.
|
void |
setCompressing(boolean compressing) |
java.lang.String |
toString() |
getBufferSize, getDisableOptimizations, getVerifyTransfers, setBufferSize, setDisableOptimizations, setVerifyTransferspublic YonderVfs(java.lang.String serverName)
throws java.io.IOException
java.io.IOExceptionpublic YonderVfs(java.lang.String serverName,
Path root)
throws java.io.IOException
java.io.IOExceptionpublic void connect()
throws java.io.IOException
java.io.IOExceptionpublic void disconnect()
throws java.io.IOException
java.io.IOExceptionpublic Path getAbsolutePath()
Vfspublic boolean isWritable()
Vfspublic VfsFile fileFor(Path path)
Vfspath - to filepublic VfsDirectory directoryFor(Path path)
Vfspath - to directorypublic VfsDirectory directoryFor(java.lang.String subPathString)
VfssubPathString - string-encoded path to directorypublic VfsFile fileFor(java.lang.String subPathString)
VfssubPathString - string-encoded path to filepublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean isCompressing()
public void setCompressing(boolean compressing)