classpathhelper.filechangelistener
Class FileChangedEvent

java.lang.Object
  extended byclasspathhelper.filechangelistener.FileChangedEvent

public class FileChangedEvent
extends java.lang.Object

Object representing a file changing.

Since:
1.0
Author:
bharris

Field Summary
static int FILE_ADDED
           
static int FILE_REMOVED
           
static int FILE_UPDATED
           
 
Constructor Summary
FileChangedEvent(int theOperation, java.lang.String theFilename)
          Creates the event.
 
Method Summary
 java.lang.String getFileName()
           
 int getOperationType()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

FileChangedEvent

public FileChangedEvent(int theOperation,
                        java.lang.String theFilename)
Creates the event.

Parameters:
theOperation - One of the FILE_XXX values
theFilename - The full path to the file this event refers to.
Since:
1.0
Method Detail

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()