Save This Page
Home » j2ssh-0.2.9-src » com.sshtools.daemon.platform » [javadoc | source]
com.sshtools.daemon.platform
abstract public class: NativeFileSystemProvider [javadoc | source]
java.lang.Object
   com.sshtools.daemon.platform.NativeFileSystemProvider

Direct Known Subclasses:
    VirtualFileSystem

Field Summary
public static final  int OPEN_READ     
public static final  int OPEN_WRITE     
public static final  int OPEN_APPEND     
public static final  int OPEN_CREATE     
public static final  int OPEN_TRUNCATE     
public static final  int OPEN_EXCLUSIVE     
Method from com.sshtools.daemon.platform.NativeFileSystemProvider Summary:
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.platform.NativeFileSystemProvider Detail:
 abstract public  void closeFile(byte[] handle) throws IOException, InvalidHandleException
 abstract public  void createSymbolicLink(String link,
    String target) throws UnsupportedFileOperationException, IOException, FileNotFoundException, PermissionDeniedException
 abstract public boolean fileExists(String path) throws IOException
 abstract public String getCanonicalPath(String path) throws IOException, FileNotFoundException
 abstract public String getDefaultPath(String username) throws FileNotFoundException
 abstract public FileAttributes getFileAttributes(String path) throws IOException, FileNotFoundException
 abstract public FileAttributes getFileAttributes(byte[] handle) throws IOException, InvalidHandleException
 public static NativeFileSystemProvider getInstance() 
 abstract public String getRealPath(String path) throws FileNotFoundException
 abstract public boolean makeDirectory(String path) throws IOException, FileNotFoundException, PermissionDeniedException
 abstract public byte[] openDirectory(String path) throws IOException, FileNotFoundException, PermissionDeniedException
 abstract public byte[] openFile(String path,
    UnsignedInteger32 flags,
    FileAttributes attrs) throws IOException, FileNotFoundException, PermissionDeniedException
 abstract public SftpFile[] readDirectory(byte[] handle) throws EOFException, IOException, InvalidHandleException
 abstract public byte[] readFile(byte[] handle,
    UnsignedInteger64 offset,
    UnsignedInteger32 len) throws EOFException, IOException, InvalidHandleException
 abstract public SftpFile readSymbolicLink(String path) throws UnsupportedFileOperationException, IOException, FileNotFoundException, PermissionDeniedException
 abstract public  void removeDirectory(String path) throws IOException, FileNotFoundException, PermissionDeniedException
 abstract public  void removeFile(String path) throws IOException, FileNotFoundException, PermissionDeniedException
 abstract public  void renameFile(String oldpath,
    String newpath) throws IOException, FileNotFoundException, PermissionDeniedException
 abstract public  void setFileAttributes(String path,
    FileAttributes attrs) throws IOException, FileNotFoundException, PermissionDeniedException
 abstract public  void setFileAttributes(byte[] handle,
    FileAttributes attrs) throws IOException, InvalidHandleException, PermissionDeniedException
 abstract public  void verifyPermissions(String username,
    String path,
    String permissions) throws IOException, FileNotFoundException, PermissionDeniedException
 abstract public  void writeFile(byte[] handle,
    UnsignedInteger64 offset,
    byte[] data,
    int off,
    int len) throws IOException, InvalidHandleException