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, toString
public DefaultCloseableHandle(SftpClient client, String path, byte[] id)
public final SftpClient getSftpClient()
public boolean isOpen()
public void close() throws IOException
IOException
public int hashCode()
hashCode
in class SftpClient.Handle
public boolean equals(Object obj)
equals
in class SftpClient.Handle
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.