public interface SftpClient
| Modifier and Type | Interface and Description |
|---|---|
static class |
SftpClient.Attribute |
static class |
SftpClient.Attributes |
static class |
SftpClient.DirEntry |
static class |
SftpClient.Handle |
static class |
SftpClient.OpenMode |
| Modifier and Type | Field and Description |
|---|---|
static int |
S_IFBLK |
static int |
S_IFCHR |
static int |
S_IFDIR |
static int |
S_IFIFO |
static int |
S_IFLNK |
static int |
S_IFMT |
static int |
S_IFREG |
static int |
S_IFSOCK |
static int |
S_IRGRP |
static int |
S_IROTH |
static int |
S_IRUSR |
static int |
S_ISGID |
static int |
S_ISUID |
static int |
S_ISVTX |
static int |
S_IWGRP |
static int |
S_IWOTH |
static int |
S_IWUSR |
static int |
S_IXGRP |
static int |
S_IXOTH |
static int |
S_IXUSR |
static final int S_IFMT
static final int S_IFSOCK
static final int S_IFLNK
static final int S_IFREG
static final int S_IFBLK
static final int S_IFDIR
static final int S_IFCHR
static final int S_IFIFO
static final int S_ISUID
static final int S_ISGID
static final int S_ISVTX
static final int S_IRUSR
static final int S_IWUSR
static final int S_IXUSR
static final int S_IRGRP
static final int S_IWGRP
static final int S_IXGRP
static final int S_IROTH
static final int S_IWOTH
static final int S_IXOTH
void close()
throws IOException
IOExceptionSftpClient.Handle open(String path, EnumSet<SftpClient.OpenMode> options) throws IOException
IOExceptionvoid close(SftpClient.Handle handle) throws IOException
IOExceptionvoid remove(String path) throws IOException
IOExceptionvoid rename(String oldPath, String newPath) throws IOException
IOExceptionint read(SftpClient.Handle handle, long fileOffset, byte[] dst, int dstoff, int len) throws IOException
IOExceptionvoid write(SftpClient.Handle handle, long fileOffset, byte[] src, int srcoff, int len) throws IOException
IOExceptionvoid mkdir(String path) throws IOException
IOExceptionvoid rmdir(String path) throws IOException
IOExceptionSftpClient.Handle openDir(String path) throws IOException
IOExceptionSftpClient.DirEntry[] readDir(SftpClient.Handle handle) throws IOException
IOExceptionString canonicalPath(String canonical) throws IOException
IOExceptionSftpClient.Attributes stat(String path) throws IOException
IOExceptionSftpClient.Attributes lstat(String path) throws IOException
IOExceptionSftpClient.Attributes stat(SftpClient.Handle handle) throws IOException
IOExceptionvoid setStat(String path, SftpClient.Attributes attributes) throws IOException
IOExceptionvoid setStat(SftpClient.Handle handle, SftpClient.Attributes attributes) throws IOException
IOExceptionString readLink(String path) throws IOException
IOExceptionvoid symLink(String linkPath, String targetPath) throws IOException
IOExceptionIterable<SftpClient.DirEntry> readDir(String path) throws IOException
IOExceptionInputStream read(String path) throws IOException
IOExceptionInputStream read(String path, EnumSet<SftpClient.OpenMode> mode) throws IOException
IOExceptionOutputStream write(String path) throws IOException
IOExceptionOutputStream write(String path, EnumSet<SftpClient.OpenMode> mode) throws IOException
IOExceptionCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.