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