Uses of Class
org.apache.commons.io.monitor.FileEntry
Packages that use FileEntry
Package
Description
This package provides a component for monitoring file system events
(directory and file create, update and delete events).
-
Uses of FileEntry in org.apache.commons.io.monitor
Fields in org.apache.commons.io.monitor declared as FileEntryModifier and TypeFieldDescriptionprivate FileEntry[]
FileEntry.children
(package private) static final FileEntry[]
FileEntry.EMPTY_ENTRIES
private final FileEntry
FileEntry.parent
private final FileEntry
FileAlterationObserver.rootEntry
Methods in org.apache.commons.io.monitor that return FileEntryModifier and TypeMethodDescriptionprivate FileEntry
FileAlterationObserver.createFileEntry
(FileEntry parent, File file) Creates a new file entry for the specified file.private FileEntry[]
FileAlterationObserver.doListFiles
(File file, FileEntry entry) Lists the filesFileEntry.getChildren()
Return the directory's files.FileEntry.getParent()
Return the parent entry.FileEntry.newChildInstance
(File file) Create a new child instance.Methods in org.apache.commons.io.monitor with parameters of type FileEntryModifier and TypeMethodDescriptionprivate void
FileAlterationObserver.checkAndNotify
(FileEntry parent, FileEntry[] previous, File[] files) Compares two file lists for files which have been created, modified or deleted.private FileEntry
FileAlterationObserver.createFileEntry
(FileEntry parent, File file) Creates a new file entry for the specified file.private void
Fires directory/file created events to the registered listeners.private void
Fires directory/file delete events to the registered listeners.private FileEntry[]
FileAlterationObserver.doListFiles
(File file, FileEntry entry) Lists the filesprivate void
Fires directory/file change events to the registered listeners.void
FileEntry.setChildren
(FileEntry... children) Set the directory's files.Constructors in org.apache.commons.io.monitor with parameters of type FileEntryModifierConstructorDescriptionprotected
FileAlterationObserver
(FileEntry rootEntry, FileFilter fileFilter, IOCase caseSensitivity) Constructs an observer for the specified directory, file filter and file comparator.Construct a new monitor for a specifiedFile
.