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