|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.net.yonder.YonderVfs
public class YonderVfs
Vfs implementation for a Yonder remote file server.
Copyright 2004-2008 Partner Software, Inc.
| Constructor Summary | |
|---|---|
YonderVfs(java.lang.String serverName)
|
|
YonderVfs(java.lang.String serverName,
Path root)
|
|
| Method Summary | |
|---|---|
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 |
isWritable()
True if this module supports writing. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public YonderVfs(java.lang.String serverName)
throws java.io.IOException
java.io.IOException
public YonderVfs(java.lang.String serverName,
Path root)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public void connect()
throws java.io.IOException
java.io.IOException
public void disconnect()
throws java.io.IOException
java.io.IOExceptionpublic Path getAbsolutePath()
Vfs
getAbsolutePath in interface Vfspublic boolean isWritable()
Vfs
isWritable in interface Vfspublic VfsFile fileFor(Path path)
Vfs
fileFor in interface Vfspath - to file
public VfsDirectory directoryFor(Path path)
Vfs
directoryFor in interface Vfspath - to directory
public VfsDirectory directoryFor(java.lang.String subPathString)
Vfs
directoryFor in interface VfssubPathString - string-encoded path to directory
public VfsFile fileFor(java.lang.String subPathString)
Vfs
fileFor in interface VfssubPathString - string-encoded path to file
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||