protected static class SftpSubsystem.FileHandle extends SftpSubsystem.Handle
| Constructor and Description |
|---|
SftpSubsystem.FileHandle(SshFile sshFile,
int flags) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read(byte[] data,
long offset) |
void |
write(byte[] data,
long offset) |
getFilepublic SftpSubsystem.FileHandle(SshFile sshFile, int flags)
public int read(byte[] data,
long offset)
throws IOException
IOExceptionpublic void write(byte[] data,
long offset)
throws IOException
IOExceptionpublic void close()
throws IOException
close in class SftpSubsystem.HandleIOExceptionCopyright © 2008–2014 The Apache Software Foundation. All rights reserved.