com.ibm.as400.access

Class FileEvent

    • 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(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.