Secure FTP Factory

com.jscape.inet.sftp.events
Class SftpTransferCompleteEvent

java.lang.Object
  extended bycom.jscape.inet.sftp.events.SftpEvent
      extended bycom.jscape.inet.sftp.events.SftpTransferCompleteEvent
Direct Known Subclasses:
SftpDownloadEvent, SftpUploadEvent

public abstract class SftpTransferCompleteEvent
extends SftpEvent

This event is fired when upload or download was completed.


Method Summary
 java.lang.String getFilename()
          Obtains the file name.
 long getFilesize()
          Obtains the file size.
 java.lang.String getPath()
          Gets path that this file was transferred to/from
 long getTime()
          Obtains the total transfer time.
 
Methods inherited from class com.jscape.inet.sftp.events.SftpEvent
acceptListener, getSource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFilename

public java.lang.String getFilename()
Obtains the file name.

Returns:
the file name

getPath

public java.lang.String getPath()
Gets path that this file was transferred to/from

Returns:
file path

getFilesize

public long getFilesize()
Obtains the file size.

Returns:
the file size

getTime

public long getTime()
Obtains the total transfer time.

Returns:
the total transfer time

Secure FTP Factory

Copyright JSCAPE 1999-2007 All Rights Reserved