com.enterprisedt.net.ftp
Class FileTransferInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by com.enterprisedt.net.ftp.FileTransferInputStream
All Implemented Interfaces:
java.io.Closeable
Direct Known Subclasses:
FTPInputStream

public abstract class FileTransferInputStream
extends java.io.InputStream

Super class of all input streams supported

Version:
$Revision: 1.1 $
Author:
Bruce Blackshaw

Field Summary
protected  boolean closed
          Has the stream been closed?
protected  java.lang.String remoteFile
          Name of remote file being transferred
 
Constructor Summary
FileTransferInputStream()
           
 
Method Summary
 java.lang.String getRemoteFile()
          Get the name of the remote file
 
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, read, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

remoteFile

protected java.lang.String remoteFile
Name of remote file being transferred


closed

protected boolean closed
Has the stream been closed?

Constructor Detail

FileTransferInputStream

public FileTransferInputStream()
Method Detail

getRemoteFile

public java.lang.String getRemoteFile()
Get the name of the remote file

Returns:
remote filename


Copyright (c) 2001-2007 Enterprise Distributed Technologies Ltd. All Rights Reserved.