com.ibm.as400.access

Class FileEvent

  • java.lang.Object
    • java.util.EventObject
      • com.ibm.as400.access.FileEvent
  • All Implemented Interfaces:
    java.io.Serializable


    public class FileEvent
    extends java.util.EventObject
    The FileEvent class represents a File event.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int FILE_CLOSED
      The file closed event ID.
      static int FILE_CREATED
      The file created event ID.
      static int FILE_DELETED
      The file deleted event ID.
      static int FILE_MODIFIED
      The file modified event ID.
      static int FILE_OPENED
      The file opened event ID.
      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor and Description
      FileEvent(java.lang.Object source, int id)
      Constructs a FileEvent object.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      int getID()
      Returns the identifier for this event.
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • FILE_CLOSED

        public static final int FILE_CLOSED
        The file closed event ID. This event is delivered when a file is closed.
        See Also:
        Constant Field Values
      • FILE_DELETED

        public static final int FILE_DELETED
        The file deleted event ID. This event is delivered when a file is deleted.
        See Also:
        Constant Field Values
      • FILE_MODIFIED

        public static final int FILE_MODIFIED
        The file modified event ID. This event is delivered when a file is modified.
        See Also:
        Constant Field Values
      • FILE_OPENED

        public static final int FILE_OPENED
        The file opened event ID. This event is delivered when a file is opened.
        See Also:
        Constant Field Values
      • FILE_CREATED

        public static final int FILE_CREATED
        The file created event ID. This event is delivered when a file is created.
        See Also:
        Constant Field Values
    • Constructor Detail

      • FileEvent

        public FileEvent(java.lang.Object source,
                 int id)
        Constructs a FileEvent object. It uses the specified source and ID.
        Parameters:
        source - The object where the event originated.
        id - The event identifier.
    >
    • Method Detail

      • getID

        public int getID()
        Returns the identifier for this event.
        Returns:
        The identifier for this event.