de.javasoft.io
Class FileOperationEvent
java.lang.Object
java.util.EventObject
de.javasoft.io.FileOperationEvent
- All Implemented Interfaces:
- java.io.Serializable
public class FileOperationEvent
- extends java.util.EventObject
Event for fileoperations. Will be fired before a file operation is executed.
- Version:
- 1.01, 04.09.2005
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
|
Constructor Summary |
FileOperationEvent(java.lang.Object source,
java.io.File file,
int fileOperation)
Constructor |
|
Method Summary |
java.io.File |
getFile()
Getter for file. |
int |
getOperation()
Getter for file Operation. |
| 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 |
CREATE
public static final int CREATE
- See Also:
- Constant Field Values
COPY
public static final int COPY
- See Also:
- Constant Field Values
DELETE
public static final int DELETE
- See Also:
- Constant Field Values
PROPERTIES
public static final int PROPERTIES
- See Also:
- Constant Field Values
FileOperationEvent
public FileOperationEvent(java.lang.Object source,
java.io.File file,
int fileOperation)
- Constructor
- Parameters:
source - The object on which the Event initially occurred.file - The file used for fileoperation.fileOperation - The type of fileoperation.
getFile
public java.io.File getFile()
- Getter for file.
- Returns:
- The used file.
getOperation
public int getOperation()
- Getter for file Operation.
- Returns:
- The file operation.
Copyright © 2004-2011 Jyloo Software. All Rights Reserved.