Package org.apache.sshd.sftp.client
Class SftpClient.Handle
java.lang.Object
org.apache.sshd.sftp.client.SftpClient.Handle
- Direct Known Subclasses:
SftpClient.CloseableHandle
- Enclosing interface:
SftpClient
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
path
-
id
private final byte[] id
-
-
Constructor Details
-
Handle
Handle(String path, byte[] id)
-
-
Method Details
-
getPath
- Returns:
- The remote path represented by this handle
-
length
public int length() -
getIdentifier
public byte[] getIdentifier()- Returns:
- A cloned instance of the identifier in order to avoid inadvertent modifications to the handle contents
-
hashCode
public int hashCode() -
equals
-
toString
-