| java.lang.Object com.sshtools.daemon.platform.NativeFileSystemProvider com.sshtools.daemon.vfs.VirtualFileSystem
Inner Class :class OpenFile | |
Inner Class :class OpenDirectory | |
Constructor Summary | |
public | VirtualFileSystem() Creates a new VirtualFileSystem object. |
Method Summary | |
public void | closeFile(byte[] handle) | public void | createSymbolicLink(String link, String target) | public boolean | fileExists(String path) | public String | getCanonicalPath(String path) | public String | getDefaultPath(String username) | public FileAttributes | getFileAttributes(byte[] handle) | public FileAttributes | getFileAttributes(String path) | public String | getRealPath(String path) | public VFSPermission | getVFSPermission(String path) | public boolean | makeDirectory(String path) | public byte[] | openDirectory(String path) | public byte[] | openFile(String path, UnsignedInteger32 flags, FileAttributes attrs) | public SftpFile[] | readDirectory(byte[] handle) | public byte[] | readFile(byte[] handle, UnsignedInteger64 offset, UnsignedInteger32 len) | public SftpFile | readSymbolicLink(String path) | public void | removeDirectory(String path) | public void | removeFile(String path) | public void | renameFile(String oldpath, String newpath) | public void | setFileAttributes(String path, FileAttributes attrs) | public void | setFileAttributes(byte[] handle, FileAttributes attrs) | public static void | setPermissionHandler(VFSPermissionHandler permissionHandler) | public static boolean | startsWithIgnoreCase(String str, String with) | public static String | translateCanonicalPath(String path, String securemount) | public static String | translateNFSPath(String nfspath) | public static String | translateVFSPath(String vfspath) | public static String | translateVFSPath(String vfspath, String vfscwd) | public void | verifyPermissions(String username, String path, String permissions) | public void | writeFile(byte[] handle, UnsignedInteger64 offset, byte[] data, int off, int len) |
startsWithIgnoreCase | public static boolean startsWithIgnoreCase(String str, String with)(Code) | | Parameters: str - Parameters: with - |
Methods inherited from com.sshtools.daemon.platform.NativeFileSystemProvider | abstract public void closeFile(byte[] handle) throws InvalidHandleException, IOException(Code)(Java Doc) abstract public void createSymbolicLink(String link, String target) throws UnsupportedFileOperationException, FileNotFoundException, IOException, PermissionDeniedException(Code)(Java Doc) abstract public boolean fileExists(String path) throws IOException(Code)(Java Doc) abstract public String getCanonicalPath(String path) throws IOException, FileNotFoundException(Code)(Java Doc) abstract public String getDefaultPath(String username) throws FileNotFoundException(Code)(Java Doc) abstract public FileAttributes getFileAttributes(String path) throws IOException, FileNotFoundException(Code)(Java Doc) abstract public FileAttributes getFileAttributes(byte[] handle) throws IOException, InvalidHandleException(Code)(Java Doc) public static NativeFileSystemProvider getInstance()(Code)(Java Doc) abstract public String getRealPath(String path) throws FileNotFoundException(Code)(Java Doc) abstract public boolean makeDirectory(String path) throws PermissionDeniedException, FileNotFoundException, IOException(Code)(Java Doc) abstract public byte[] openDirectory(String path) throws PermissionDeniedException, FileNotFoundException, IOException(Code)(Java Doc) abstract public byte[] openFile(String path, UnsignedInteger32 flags, FileAttributes attrs) throws PermissionDeniedException, FileNotFoundException, IOException(Code)(Java Doc) abstract public SftpFile[] readDirectory(byte[] handle) throws InvalidHandleException, EOFException, IOException(Code)(Java Doc) abstract public byte[] readFile(byte[] handle, UnsignedInteger64 offset, UnsignedInteger32 len) throws InvalidHandleException, EOFException, IOException(Code)(Java Doc) abstract public SftpFile readSymbolicLink(String path) throws UnsupportedFileOperationException, FileNotFoundException, IOException, PermissionDeniedException(Code)(Java Doc) abstract public void removeDirectory(String path) throws PermissionDeniedException, FileNotFoundException, IOException(Code)(Java Doc) abstract public void removeFile(String path) throws PermissionDeniedException, IOException, FileNotFoundException(Code)(Java Doc) abstract public void renameFile(String oldpath, String newpath) throws PermissionDeniedException, FileNotFoundException, IOException(Code)(Java Doc) abstract public void setFileAttributes(String path, FileAttributes attrs) throws PermissionDeniedException, IOException, FileNotFoundException(Code)(Java Doc) abstract public void setFileAttributes(byte[] handle, FileAttributes attrs) throws PermissionDeniedException, IOException, InvalidHandleException(Code)(Java Doc) abstract public void verifyPermissions(String username, String path, String permissions) throws PermissionDeniedException, FileNotFoundException, IOException(Code)(Java Doc) abstract public void writeFile(byte[] handle, UnsignedInteger64 offset, byte[] data, int off, int len) throws InvalidHandleException, IOException(Code)(Java Doc)
|
|
|