Secure iNet Factory

com.jscape.inet.sftp.events
Class SftpTransferCompleteEvent

java.lang.Object
  extended by com.jscape.inet.sftp.events.SftpEvent
      extended by com.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 getLocalPath()
          Returns local file path.
 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

getLocalPath

public java.lang.String getLocalPath()
Returns local file path.

Returns:
local 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 iNet Factory

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved