Package com.trilead.ssh2
Class SFTPv3FileHandle
- java.lang.Object
-
- com.trilead.ssh2.SFTPv3FileHandle
-
public class SFTPv3FileHandle extends java.lang.Object
ASFTPv3FileHandle
.- Version:
- $Id: SFTPv3FileHandle.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $
-
-
Field Summary
Fields Modifier and Type Field Description (package private) SFTPv3Client
client
(package private) byte[]
fileHandle
(package private) boolean
isClosed
-
Constructor Summary
Constructors Constructor Description SFTPv3FileHandle(SFTPv3Client client, byte[] h)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SFTPv3Client
getClient()
Get the SFTPv3Client instance which created this handle.boolean
isClosed()
Check if this handle was closed with theSFTPv3Client.closeFile(SFTPv3FileHandle)
method of theSFTPv3Client
instance which created the handle.
-
-
-
Field Detail
-
client
final SFTPv3Client client
-
fileHandle
final byte[] fileHandle
-
isClosed
boolean isClosed
-
-
Constructor Detail
-
SFTPv3FileHandle
SFTPv3FileHandle(SFTPv3Client client, byte[] h)
-
-
Method Detail
-
getClient
public SFTPv3Client getClient()
Get the SFTPv3Client instance which created this handle.- Returns:
- A SFTPv3Client instance.
-
isClosed
public boolean isClosed()
Check if this handle was closed with theSFTPv3Client.closeFile(SFTPv3FileHandle)
method of theSFTPv3Client
instance which created the handle.- Returns:
- if the handle is closed.
-
-