public class DefaultCloseableHandle extends SftpClient.CloseableHandle
| Constructor and Description |
|---|
DefaultCloseableHandle(SftpClient client,
String path,
byte[] id) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
equals(Object obj) |
SftpClient |
getSftpClient() |
int |
hashCode() |
boolean |
isOpen() |
getIdentifier, getPath, length, toStringpublic DefaultCloseableHandle(SftpClient client, String path, byte[] id)
public final SftpClient getSftpClient()
public boolean isOpen()
public void close()
throws IOException
IOExceptionpublic int hashCode()
hashCode in class SftpClient.Handlepublic boolean equals(Object obj)
equals in class SftpClient.HandleCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.