/** * Constructs a new <code>FileSystemContainer</code> with the specified root * and recursivity status. * * @param root * the root file for the new file-system container. * @param filter * the Filename filter to limit the files in container. * @param recursive * should the container recursively contain subdirectories. */ public FilesystemContainer(File root, FilenameFilter filter, boolean recursive) { this(root); this.setFilter(filter); setRecursive(recursive); }
/** * Constructs a new <code>FileSystemContainer</code> with the specified file * as the root of the filesystem. * * @param root * the root file for the new file-system container. * @param extension * the Filename extension (w/o separator) to limit the files in * container. * @param recursive * should the container recursively contain subdirectories. */ public FilesystemContainer(File root, String extension, boolean recursive) { this(root); this.setFilter(extension); setRecursive(recursive); }