ch.ethz.ssh2
Class SFTPv3FileHandle

java.lang.Object
  extended by ch.ethz.ssh2.SFTPv3FileHandle

public class SFTPv3FileHandle
extends java.lang.Object

A SFTPv3FileHandle.

Version:
2.50, 03/15/10
Author:
Christian Plattner

Field Summary
(package private)  SFTPv3Client client
           
(package private)  byte[] fileHandle
           
(package private)  boolean isClosed
           
 
Constructor Summary
SFTPv3FileHandle(SFTPv3Client client, byte[] h)
           
 
Method Summary
 SFTPv3Client getClient()
          Get the SFTPv3Client instance which created this handle.
 boolean isClosed()
          Check if this handle was closed with the SFTPv3Client.closeFile(SFTPv3FileHandle) method of the SFTPv3Client instance which created the handle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 the SFTPv3Client.closeFile(SFTPv3FileHandle) method of the SFTPv3Client instance which created the handle.

Returns:
if the handle is closed.