/** * Create a new child instance. * <p> * Custom implementations should override this method to return * a new instance of the appropriate type. * * @param file The child file * @return a new child instance */ public FileInfo newChildInstance(File file) { return new FileInfo(this, file); }
/** * Construct an observer for the specified directory, file filter and * file comparator. * * @param directory the directory to observe * @param fileFilter The file filter or null if none * @param caseSensitivity what case sensitivity to use comparing file names, null means system sensitive */ public FileChangeObserver(File directory, FileFilter fileFilter, IOCase caseSensitivity) { this(new FileInfo(directory), fileFilter, caseSensitivity); }