comirva.util
Class FileUtils

java.lang.Object
  extended by comirva.util.FileUtils

public class FileUtils
extends java.lang.Object

This class implements simple utilities related to file processing.


Constructor Summary
FileUtils()
           
 
Method Summary
static java.io.File[] getAllFilesRecursively(java.io.File[] files, java.io.FileFilter filter)
          Creates and returns a File[] containing all files in all subdirectories of the files given as argument files.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUtils

public FileUtils()
Method Detail

getAllFilesRecursively

public static java.io.File[] getAllFilesRecursively(java.io.File[] files,
                                                    java.io.FileFilter filter)
Creates and returns a File[] containing all files in all subdirectories of the files given as argument files. Furthermore, a file filter can be specified.

Parameters:
files - the files and directories which are to be searched
filter - a FileFilter to be applied to the search
Returns:
a File[] containing all files in all subdirectories of files