com.jscape.inet.ftp
Class FtpListingEvent
java.lang.Object
java.util.EventObject
com.jscape.inet.ftp.FtpEvent
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. |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FtpListingEvent
public FtpListingEvent(java.lang.Object source,
java.util.Enumeration listing)
- Creates FtpListingEvent.
- Parameters:
source - the source of the eventlisting - an Enumeration of FtpFile- See Also:
FtpFile
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
- Parameters:
listener -
Copyright JSCAPE 1999-2007 All Rights Reserved