|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.incava.io.Find
public class Find
Support for find(1)-like behavior.
| Constructor Summary | |
|---|---|
Find()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Find()
| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||