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).
|
Modifier and Type | Method and Description |
---|---|
FileEntry[] |
FileEntry.getChildren()
Return the directory's files.
|
FileEntry |
FileEntry.getParent()
Return the parent entry.
|
FileEntry |
FileEntry.newChildInstance(File file)
Create a new child instance.
|
Modifier and Type | Method and Description |
---|---|
void |
FileEntry.setChildren(FileEntry[] children)
Set the directory's files.
|
Constructor and Description |
---|
FileAlterationObserver(FileEntry rootEntry,
FileFilter fileFilter,
IOCase caseSensitivity)
Construct an observer for the specified directory, file filter and
file comparator.
|
FileEntry(FileEntry parent,
File file)
Construct a new monitor for a specified
File . |
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.