org.incava.io
Class Find
public class Find
extends java.lang.Object
Support for find(1)
-like behavior.
static void | getFileList(List fileList, String name, String suffix) - Passes back a list of files.
|
static String[] | getFileList(String[] names, String suffix) - Returns an array of files, collected from the
names list.
|
getFileList
public static void getFileList(List fileList,
String name,
String suffix)
Passes back a list of files. Directories are processed recursively,
collecting files with the suffix of suffix
. If
name
refers to a file, it is simply added to the list.
getFileList
public static String[] getFileList(String[] names,
String suffix)
Returns an array of files, collected from the names
list.
Directories are processed recursively, collecting files with
suffix
. If name
refers to a file, it is simply
added to the list.