|
Sun SPOT API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.squawk.util.Find
public class Find
This class provides a limited subset of the unix find utility.
| Constructor Summary | |
|---|---|
Find()
|
|
| Method Summary | |
|---|---|
static void |
find(java.io.File dir,
String suffix,
Vector results,
boolean dirs)
Find all the files or directories under a given directory recursively. |
static void |
findAllClassesInPath(String path,
Vector addTo)
Find all the class files in a given path. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Find()
| Method Detail |
|---|
public static void findAllClassesInPath(String path,
Vector addTo)
addTo - The unique list of classes found are returned in this variable.
public static void find(java.io.File dir,
String suffix,
Vector results,
boolean dirs)
throws IOException
dir - the directory to search fromsuffix - the suffix used to filter the results or null
for no filteringresults - the Vector into which the found files should be put
IOException
|
Sun SPOT API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||