protected static class SftpSubsystem.FileHandle extends SftpSubsystem.Handle
| Constructor and Description |
|---|
SftpSubsystem.FileHandle(SshFile sshFile) |
| 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)
public int read(byte[] data,
long offset)
throws java.io.IOException
java.io.IOExceptionpublic void write(byte[] data,
long offset)
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in class SftpSubsystem.Handlejava.io.IOExceptionCopyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.