classpathhelper.filechangelistener
Class FileChangedEvent
java.lang.Object
classpathhelper.filechangelistener.FileChangedEvent
- public class FileChangedEvent
- extends java.lang.Object
Object representing a file changing.
- Since:
- 1.0
- Author:
- bharris
Constructor Summary |
FileChangedEvent(int theOperation,
java.lang.String theFilename)
Creates the event. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FILE_ADDED
public static final int FILE_ADDED
- See Also:
- Constant Field Values
FILE_REMOVED
public static final int FILE_REMOVED
- See Also:
- Constant Field Values
FILE_UPDATED
public static final int FILE_UPDATED
- See Also:
- Constant Field Values
FileChangedEvent
public FileChangedEvent(int theOperation,
java.lang.String theFilename)
- Creates the event.
- Parameters:
theOperation
- One of the FILE_XXX
valuestheFilename
- The full path to the file this event
refers to.- Since:
- 1.0
getOperationType
public int getOperationType()
- Returns:
- One of the
FILE_XXX
values. - Since:
- 1.0
getFileName
public java.lang.String getFileName()
- Returns:
- The full path to the file referred to
by this event.
- Since:
- 1.0
toString
public java.lang.String toString()