public class FileHandle extends BaseHandle
| Constructor and Description |
|---|
FileHandle(String id,
SshFile sshFile,
int flags) |
public int getFlags()
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 interface Closeableclose in interface AutoCloseableclose in class BaseHandleIOExceptionCopyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.