public class FileChangeAdapter extends Object implements FileChangeListener
FileObject
s. Can be attached to any FileObject
.FileChangeListener
Constructor and Description |
---|
FileChangeAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
fileAttributeChanged(FileAttributeEvent fe)
Fired when a file attribute is changed.
|
void |
fileChanged(FileEvent fe)
Fired when a file is changed.
|
void |
fileDataCreated(FileEvent fe)
Fired when a new file is created.
|
void |
fileDeleted(FileEvent fe)
Fired when a file is deleted.
|
void |
fileFolderCreated(FileEvent fe)
Fired when a new folder is created.
|
void |
fileRenamed(FileRenameEvent fe)
Fired when a file is renamed.
|
public void fileFolderCreated(FileEvent fe)
fileFolderCreated
in interface FileChangeListener
fe
- the event describing context where action has taken placepublic void fileDataCreated(FileEvent fe)
fileDataCreated
in interface FileChangeListener
fe
- the event describing context where action has taken placepublic void fileChanged(FileEvent fe)
fileChanged
in interface FileChangeListener
fe
- the event describing context where action has taken placepublic void fileDeleted(FileEvent fe)
fileDeleted
in interface FileChangeListener
fe
- the event describing context where action has taken placepublic void fileRenamed(FileRenameEvent fe)
fileRenamed
in interface FileChangeListener
fe
- the event describing context where action has taken place
and the original name and extension.public void fileAttributeChanged(FileAttributeEvent fe)
fileAttributeChanged
in interface FileChangeListener
fe
- the event describing context where action has taken place,
the name of attribute and the old and new values.