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
IOException
protected void signalHandleOpen(SftpSubsystem subsystem) throws IOException
IOException
public Path getFile()
public String getFileHandle()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface Channel
IOException
Copyright © 2008–2018 The Apache Software Foundation. All rights reserved.