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

    Constructors
    Constructor and Description
    `FtpListingEvent(java.lang.Object source, java.util.Enumeration listing)` Creates FtpListingEvent.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `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`

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