| java.lang.Object net.sourceforge.groboutils.util.io.v1.FileUtils
FileUtils | public class FileUtils (Code) | | Simple and common file operations in a Utility class.
author: Matt Albrecht groboclown@users.sourceforge.net since: December 13, 2000 version: $Date: 2003/05/19 20:31:47 $ |
FileUtils | protected FileUtils()(Code) | | Default Constructor
|
copyFileToDirectory | public void copyFileToDirectory(File source, File dir) throws IOException(Code) | | Parameters: source - the source file to copy Parameters: dir - the target directory to copy the sourcefile into: thename will remain the same. |
copyFileToFile | public void copyFileToFile(File source, File target) throws IOException(Code) | | Parameters: source - the source file to copy from. Parameters: target - the target file to copy to. |
findFileRecurse | public File[] findFileRecurse(File baseDir, FilenameFilter filter)(Code) | | Recursively descends into the base directory, looking for all files
that pass the filter.
Parameters: baseDir - the base directory to start the search. Parameters: filter - the filename filter to search. If null, thenall files are allowed. |
|
|