Package org.apache.commons.vfs2
Class FileChangeEvent
- java.lang.Object
-
- org.apache.commons.vfs2.FileChangeEvent
-
- Direct Known Subclasses:
AbstractFileChangeEvent
public class FileChangeEvent extends java.lang.Object
An event fired when a file is changed.
-
-
Constructor Summary
Constructors Constructor Description FileChangeEvent(FileObject fileObject)
Constructs a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description FileObject
getFile()
Deprecated.UsegetFileObject()
.FileObject
getFileObject()
Returns the file that changed.
-
-
-
Constructor Detail
-
FileChangeEvent
public FileChangeEvent(FileObject fileObject)
Constructs a new instance.- Parameters:
fileObject
- the file object.
-
-
Method Detail
-
getFile
@Deprecated public FileObject getFile()
Deprecated.UsegetFileObject()
.Returns the file that changed.- Returns:
- The FileObject that was changed.
-
getFileObject
public FileObject getFileObject()
Returns the file that changed.- Returns:
- The FileObject that was changed.
- Since:
- 2.5.0
-
-