ch.ethz.ssh2
Class SFTPv3FileHandle

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

public class SFTPv3FileHandle
extends Object

A SFTPv3FileHandle.

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

Field Summary
protected  SFTPv3Client client
           
protected  byte[] fileHandle
           
protected  boolean isClosed
           
 
Constructor Summary
protected 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

protected final SFTPv3Client client

fileHandle

protected final byte[] fileHandle

isClosed

protected boolean isClosed
Constructor Detail

SFTPv3FileHandle

protected 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.


Copyright © 2011. All Rights Reserved.