Secure iNet Factory

com.jscape.inet.ftp
Class FtpDeleteFileEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.jscape.inet.ftp.FtpEvent
          extended by com.jscape.inet.ftp.FtpDeleteFileEvent
All Implemented Interfaces:
java.io.Serializable

public class FtpDeleteFileEvent
extends FtpEvent

Fired when a file is deleted from remote server

See Also:
Serialized Form

Constructor Summary
FtpDeleteFileEvent(java.lang.Object source, java.lang.String file, java.lang.String path)
          Creates a new FtpDeleteFileEvent instance
 
Method Summary
 void accept(FtpListener listener)
          Method accept
 java.lang.String getFile()
          Gets name of file deleted
 java.lang.String getPath()
          Gets remote directory path that this file was deleted from
 java.lang.String toString()
          Gets String representation of this event.
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FtpDeleteFileEvent

public FtpDeleteFileEvent(java.lang.Object source,
                          java.lang.String file,
                          java.lang.String path)
Creates a new FtpDeleteFileEvent instance

Parameters:
source - the event source
file - the name of file deleted
path - the remote directory path this file was deleted from
Method Detail

getPath

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

Returns:
remote directory path

accept

public void accept(FtpListener listener)
Method accept

Specified by:
accept in class FtpEvent
See Also:
FtpEvent.accept(FtpListener)

getFile

public java.lang.String getFile()
Gets name of file deleted

Returns:
file name

toString

public java.lang.String toString()
Gets String representation of this event.

Overrides:
toString in class java.util.EventObject
Returns:
event message

Secure iNet Factory

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