protected static class SftpSubsystem.FileHandle extends SftpSubsystem.Handle
Constructor and Description |
---|
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) |
getFile
public FileHandle(SshFile sshFile, int flags)
public int read(byte[] data, long offset) throws IOException
IOException
public void write(byte[] data, long offset) throws IOException
IOException
public void close() throws IOException
close
in class SftpSubsystem.Handle
IOException
Copyright © 2008–2018 The Apache Software Foundation. All rights reserved.