public class FileHandle extends BaseHandle
| Constructor and Description |
|---|
FileHandle(String id,
SshFile sshFile,
int flags) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getFlags() |
int |
read(byte[] data,
long offset) |
void |
write(byte[] data,
long offset) |
getFile, getIdpublic 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.