Uses of Class
org.apache.commons.io.monitor.FileEntry
-
Packages that use FileEntry Package Description org.apache.commons.io.monitor 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 FileEntry Modifier and Type Field Description private FileEntry[]
FileEntry. children
(package private) static FileEntry[]
FileEntry. EMPTY_FILE_ENTRY_ARRAY
private FileEntry
FileEntry. parent
private FileEntry
FileAlterationObserver. rootEntry
Methods in org.apache.commons.io.monitor that return FileEntry Modifier and Type Method Description private FileEntry
FileAlterationObserver. createFileEntry(FileEntry parent, java.io.File file)
Creates a new file entry for the specified file.private FileEntry[]
FileAlterationObserver. doListFiles(java.io.File file, FileEntry entry)
Lists the filesFileEntry[]
FileEntry. getChildren()
Return the directory's files.FileEntry
FileEntry. getParent()
Return the parent entry.FileEntry
FileEntry. newChildInstance(java.io.File file)
Create a new child instance.Methods in org.apache.commons.io.monitor with parameters of type FileEntry Modifier and Type Method Description private void
FileAlterationObserver. checkAndNotify(FileEntry parent, FileEntry[] previous, java.io.File[] files)
Compares two file lists for files which have been created, modified or deleted.private FileEntry
FileAlterationObserver. createFileEntry(FileEntry parent, java.io.File file)
Creates a new file entry for the specified file.private void
FileAlterationObserver. doCreate(FileEntry entry)
Fires directory/file created events to the registered listeners.private void
FileAlterationObserver. doDelete(FileEntry entry)
Fires directory/file delete events to the registered listeners.private FileEntry[]
FileAlterationObserver. doListFiles(java.io.File file, FileEntry entry)
Lists the filesprivate void
FileAlterationObserver. doMatch(FileEntry entry, java.io.File file)
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 FileEntry Constructor Description FileAlterationObserver(FileEntry rootEntry, java.io.FileFilter fileFilter, IOCase caseSensitivity)
Constructs an observer for the specified directory, file filter and file comparator.FileEntry(FileEntry parent, java.io.File file)
Construct a new monitor for a specifiedFile
.
-