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
IOException
SftpClient.Handle open(String path, EnumSet<SftpClient.OpenMode> options) throws IOException
IOException
void close(SftpClient.Handle handle) throws IOException
IOException
void remove(String path) throws IOException
IOException
void rename(String oldPath, String newPath) throws IOException
IOException
int read(SftpClient.Handle handle, long fileOffset, byte[] dst, int dstoff, int len) throws IOException
IOException
void write(SftpClient.Handle handle, long fileOffset, byte[] src, int srcoff, int len) throws IOException
IOException
void mkdir(String path) throws IOException
IOException
void rmdir(String path) throws IOException
IOException
SftpClient.Handle openDir(String path) throws IOException
IOException
SftpClient.DirEntry[] readDir(SftpClient.Handle handle) throws IOException
IOException
String canonicalPath(String canonical) throws IOException
IOException
SftpClient.Attributes stat(String path) throws IOException
IOException
SftpClient.Attributes lstat(String path) throws IOException
IOException
SftpClient.Attributes stat(SftpClient.Handle handle) throws IOException
IOException
void setStat(String path, SftpClient.Attributes attributes) throws IOException
IOException
void setStat(SftpClient.Handle handle, SftpClient.Attributes attributes) throws IOException
IOException
String readLink(String path) throws IOException
IOException
void symLink(String linkPath, String targetPath) throws IOException
IOException
Iterable<SftpClient.DirEntry> readDir(String path) throws IOException
IOException
InputStream read(String path) throws IOException
IOException
OutputStream write(String path) throws IOException
IOException
Copyright © 2008–2014 The Apache Software Foundation. All rights reserved.