Save This Page
Home » j2ssh-0.2.9-src » com.sshtools.daemon.vfs » [javadoc | source]
com.sshtools.daemon.vfs
public class: VirtualFileSystem [javadoc | source]
java.lang.Object
   com.sshtools.daemon.platform.NativeFileSystemProvider
      com.sshtools.daemon.vfs.VirtualFileSystem
Nested Class Summary:
class  VirtualFileSystem.OpenFile   
class  VirtualFileSystem.OpenDirectory   
Fields inherited from com.sshtools.daemon.platform.NativeFileSystemProvider:
OPEN_READ,  OPEN_WRITE,  OPEN_APPEND,  OPEN_CREATE,  OPEN_TRUNCATE,  OPEN_EXCLUSIVE
Constructor:
 public VirtualFileSystem() throws IOException 
    Creates a new VirtualFileSystem object.
    Throws:
    IOException -
Method from com.sshtools.daemon.vfs.VirtualFileSystem Summary:
closeFile,   createSymbolicLink,   fileExists,   getCanonicalPath,   getDefaultPath,   getFileAttributes,   getFileAttributes,   getRealPath,   getVFSPermission,   makeDirectory,   openDirectory,   openFile,   readDirectory,   readFile,   readSymbolicLink,   removeDirectory,   removeFile,   renameFile,   setFileAttributes,   setFileAttributes,   setPermissionHandler,   startsWithIgnoreCase,   translateCanonicalPath,   translateNFSPath,   translateVFSPath,   translateVFSPath,   verifyPermissions,   writeFile
Methods from com.sshtools.daemon.platform.NativeFileSystemProvider:
closeFile,   createSymbolicLink,   fileExists,   getCanonicalPath,   getDefaultPath,   getFileAttributes,   getFileAttributes,   getInstance,   getRealPath,   makeDirectory,   openDirectory,   openFile,   readDirectory,   readFile,   readSymbolicLink,   removeDirectory,   removeFile,   renameFile,   setFileAttributes,   setFileAttributes,   verifyPermissions,   writeFile
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sshtools.daemon.vfs.VirtualFileSystem Detail:
 public  void closeFile(byte[] handle) throws IOException, InvalidHandleException 
 public  void createSymbolicLink(String link,
    String target) throws UnsupportedFileOperationException, IOException, FileNotFoundException, PermissionDeniedException 
 public boolean fileExists(String path) throws IOException 
 public String getCanonicalPath(String path) throws IOException, FileNotFoundException 
 public String getDefaultPath(String username) throws FileNotFoundException 
 public FileAttributes getFileAttributes(byte[] handle) throws IOException, InvalidHandleException 
 public FileAttributes getFileAttributes(String path) throws IOException, FileNotFoundException 
 public String getRealPath(String path) throws FileNotFoundException 
 public VFSPermission getVFSPermission(String path) throws IOException, FileNotFoundException 
 public boolean makeDirectory(String path) throws IOException, FileNotFoundException, PermissionDeniedException 
 public byte[] openDirectory(String path) throws IOException, FileNotFoundException, PermissionDeniedException 
 public byte[] openFile(String path,
    UnsignedInteger32 flags,
    FileAttributes attrs) throws IOException, FileNotFoundException, PermissionDeniedException 
 public SftpFile[] readDirectory(byte[] handle) throws EOFException, IOException, InvalidHandleException 
 public byte[] readFile(byte[] handle,
    UnsignedInteger64 offset,
    UnsignedInteger32 len) throws EOFException, IOException, InvalidHandleException 
 public SftpFile readSymbolicLink(String path) throws UnsupportedFileOperationException, IOException, FileNotFoundException, PermissionDeniedException 
 public  void removeDirectory(String path) throws IOException, FileNotFoundException, PermissionDeniedException 
 public  void removeFile(String path) throws IOException, FileNotFoundException, PermissionDeniedException 
 public  void renameFile(String oldpath,
    String newpath) throws IOException, FileNotFoundException, PermissionDeniedException 
 public  void setFileAttributes(String path,
    FileAttributes attrs) throws IOException, FileNotFoundException, PermissionDeniedException 
 public  void setFileAttributes(byte[] handle,
    FileAttributes attrs) throws IOException, InvalidHandleException, PermissionDeniedException 
 public static  void setPermissionHandler(VFSPermissionHandler permissionHandler) 
 public static boolean startsWithIgnoreCase(String str,
    String with) 
 public static String translateCanonicalPath(String path,
    String securemount) throws FileNotFoundException 
 public static String translateNFSPath(String nfspath) throws FileNotFoundException 
 public static String translateVFSPath(String vfspath) throws FileNotFoundException 
 public static String translateVFSPath(String vfspath,
    String vfscwd) throws FileNotFoundException 
 public  void verifyPermissions(String username,
    String path,
    String permissions) throws IOException, FileNotFoundException, PermissionDeniedException 
 public  void writeFile(byte[] handle,
    UnsignedInteger64 offset,
    byte[] data,
    int off,
    int len) throws IOException, InvalidHandleException