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
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
FileEvent(java.lang.Object source,
int id)
Constructs a FileEvent object. |
Method Summary |
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 |
FILE_CLOSED
public static final int FILE_CLOSED
- The file closed event ID. This event is delivered when a file is closed.
FILE_DELETED
public static final int FILE_DELETED
- The file deleted event ID. This event is delivered when a file is deleted.
FILE_MODIFIED
public static final int FILE_MODIFIED
- The file modified event ID. This event is delivered when a file is modified.
FILE_OPENED
public static final int FILE_OPENED
- The file opened event ID. This event is delivered when a file is opened.
FILE_CREATED
public static final int FILE_CREATED
- The file created event ID. This event is delivered when a file is created.
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.
getID
public int getID()
- Returns the identifier for this event.
- Returns:
- The identifier for this event.