public abstract class Handle extends Object implements Channel
| Modifier | Constructor and Description |
|---|---|
protected |
Handle(Path file,
String handle) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Path |
getFile() |
String |
getFileHandle() |
boolean |
isOpen() |
protected void |
signalHandleOpen(SftpSubsystem subsystem) |
protected void |
signalHandleOpening(SftpSubsystem subsystem) |
String |
toString() |
protected void signalHandleOpening(SftpSubsystem subsystem) throws IOException
IOExceptionprotected void signalHandleOpen(SftpSubsystem subsystem) throws IOException
IOExceptionpublic Path getFile()
public String getFileHandle()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface ChannelIOExceptionCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.