All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.as400.access.FileEvent

java.lang.Object
   |
   +----java.util.EventObject
           |
           +----com.ibm.as400.access.FileEvent

public class FileEvent
extends EventObject
The FileEvent class represents a File event.


Variable Index

 o FILE_CLOSED
The file closed event ID.
 o FILE_CREATED
The file created event ID.
 o FILE_DELETED
The file deleted event ID.
 o FILE_MODIFIED
The file modified event ID.
 o FILE_OPENED
The file opened event ID.

Constructor Index

 o FileEvent(Object, int)
Constructs a FileEvent object.

Method Index

 o getID()
Returns the identifier for this event.

Variables

 o FILE_CLOSED
 public static final int FILE_CLOSED
The file closed event ID. This event is delivered when a file is closed.

 o FILE_DELETED
 public static final int FILE_DELETED
The file deleted event ID. This event is delivered when a file is deleted.

 o FILE_MODIFIED
 public static final int FILE_MODIFIED
The file modified event ID. This event is delivered when a file is modified.

 o FILE_OPENED
 public static final int FILE_OPENED
The file opened event ID. This event is delivered when a file is opened.

 o FILE_CREATED
 public static final int FILE_CREATED
The file created event ID. This event is delivered when a file is created.

Constructors

 o 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.

Methods

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

Returns:
The identifier for this event.

All Packages  Class Hierarchy  This Package  Previous  Next  Index