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