Secure iNet Factory

com.jscape.filetransfer
Class FileTransferDeleteFileEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.jscape.filetransfer.FileTransferEvent
          extended by com.jscape.filetransfer.FileTransferDeleteFileEvent
All Implemented Interfaces:
java.io.Serializable

public class FileTransferDeleteFileEvent
extends FileTransferEvent

Fired when a file is deleted on server.

See Also:
Serialized Form

Constructor Summary
FileTransferDeleteFileEvent(java.lang.Object source, java.lang.String file, java.lang.String path)
          Creates FileTransferDeleteFileEvent.
 
Method Summary
 void accept(FileTransferListener listener)
          Accepts event via FileTransferListener.
 java.lang.String getFile()
          Gets the file that was deleted.
 java.lang.String getPath()
          Gets remote directory path that file was deleted from.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileTransferDeleteFileEvent

public FileTransferDeleteFileEvent(java.lang.Object source,
                                   java.lang.String file,
                                   java.lang.String path)
Creates FileTransferDeleteFileEvent.

Parameters:
source - the source of the event
file - the file deleted on server
path - the remote directory path that file was deleted from
Method Detail

getFile

public java.lang.String getFile()
Gets the file that was deleted.

Returns:
the file

getPath

public java.lang.String getPath()
Gets remote directory path that file was deleted from.

Returns:
remote directory path.

accept

public void accept(FileTransferListener listener)
Accepts event via FileTransferListener.

Specified by:
accept in class FileTransferEvent
Parameters:
listener - the listener which receives event

Secure iNet Factory

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