Secure FTP Factory

com.jscape.inet.ftp
Class FtpListingEvent

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

public class FtpListingEvent
extends FtpEvent

Fired when directory listing is retrieved from FTP server.

See Also:
Serialized Form

Constructor Summary
FtpListingEvent(java.lang.Object source, java.util.Enumeration listing)
          Creates FtpListingEvent.
 
Method Summary
 void accept(FtpListener listener)
          Event is accepted by listener
 java.util.Enumeration getListing()
          Gets listing.
 
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

FtpListingEvent

public FtpListingEvent(java.lang.Object source,
                       java.util.Enumeration listing)
Creates FtpListingEvent.

Parameters:
source - the source of the event
listing - an Enumeration of FtpFile
See Also:
FtpFile
Method Detail

getListing

public java.util.Enumeration getListing()
Gets listing.

Returns:
an Enumeration of FtpFile
See Also:
FtpFile

accept

public void accept(FtpListener listener)
Description copied from class: FtpEvent
Event is accepted by listener

Specified by:
accept in class FtpEvent

Secure FTP Factory

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