Package com.gentlyweb.utils
Class FileChangeEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.gentlyweb.utils.FileChangeEvent
-
- All Implemented Interfaces:
Serializable
public class FileChangeEvent extends EventObject
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
EXISTS
static int
FILE_TYPE_CHANGE
static int
HIDDEN
static int
LENGTH_CHANGED
static int
MODIFIED
static int
NOT_EXISTS
static int
NOT_HIDDEN
static int
NOT_READABLE
static int
NOT_WRITEABLE
static int
READABLE
static int
WRITEABLE
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description FileChangeEvent(File file, FileDetails newDetails, FileDetails oldDetails, int eventTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getEventTypes()
File
getFile()
FileDetails
getNewFileDetails()
FileDetails
getOldFileDetails()
boolean
hasEvent(int type)
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Field Detail
-
EXISTS
public static final int EXISTS
- See Also:
- Constant Field Values
-
NOT_EXISTS
public static final int NOT_EXISTS
- See Also:
- Constant Field Values
-
MODIFIED
public static final int MODIFIED
- See Also:
- Constant Field Values
-
HIDDEN
public static final int HIDDEN
- See Also:
- Constant Field Values
-
NOT_HIDDEN
public static final int NOT_HIDDEN
- See Also:
- Constant Field Values
-
LENGTH_CHANGED
public static final int LENGTH_CHANGED
- See Also:
- Constant Field Values
-
READABLE
public static final int READABLE
- See Also:
- Constant Field Values
-
NOT_READABLE
public static final int NOT_READABLE
- See Also:
- Constant Field Values
-
WRITEABLE
public static final int WRITEABLE
- See Also:
- Constant Field Values
-
NOT_WRITEABLE
public static final int NOT_WRITEABLE
- See Also:
- Constant Field Values
-
FILE_TYPE_CHANGE
public static final int FILE_TYPE_CHANGE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FileChangeEvent
public FileChangeEvent(File file, FileDetails newDetails, FileDetails oldDetails, int eventTypes)
-
-
Method Detail
-
hasEvent
public boolean hasEvent(int type)
-
getEventTypes
public int getEventTypes()
-
getOldFileDetails
public FileDetails getOldFileDetails()
-
getNewFileDetails
public FileDetails getNewFileDetails()
-
getFile
public File getFile()
-
-