File tree Expand file tree Collapse file tree
src/main/java/org/apache/commons/io/monitor Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 * If the state of additional {@link File} attributes is required then create a custom
3636 * {@link FilesystemEntry} with properties for those attributes. Override the
3737 * {@link #newChildInstance(File)} to return a new instance of the appropriate type.
38- * You may also want to override the {@link #refresh()} and/or {@link #hasChanged()}
39- * methods.
38+ * You may also want to override the {@link #refresh(File)} method.
4039 * @see FilesystemObserver
4140 * @since Commons IO 2.0
4241 */
Original file line number Diff line number Diff line change 125125 * {@link FilesystemEntry} represents the state of a file or directory, capturing
126126 * {@link File} attributes at a point in time. Custom implementations of
127127 * {@link FilesystemEntry} can be used to capture additional properties that the
128- * basic implementation does not support. The {@link FilesystemEntry#hasChanged( )}
128+ * basic implementation does not support. The {@link FilesystemEntry#refresh(File )}
129129 * method is used to determine if a file or directory has changed since the last
130- * check. {@link FilesystemEntry#refresh()} stores the current state of the
131- * {@link File}'s properties.
130+ * check and stores the current state of the {@link File}'s properties.
132131 *
133132 * @see FilesystemListener
134133 * @see FilesystemMonitor
You can’t perform that action at this time.
0 commit comments