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, getId
public int getFlags()
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 interface Closeable
close
in interface AutoCloseable
close
in class BaseHandle
IOException
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.