|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.util.ResourceLister
public class ResourceLister
A utility to list resource files found in the local class path.
It only list files found in directories, not .zip or .jar files.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
static String[] |
list()
List all resource files appearing in root directories in the class path. |
static String[] |
list(FilenameFilter filter)
List all resource files that appear in root directories in the class path and are accepted by a given FilenameFilter. |
static String[] |
list(String path)
List all resource files with a given path relative to root directories in the class path. |
static String[] |
list(String path,
FilenameFilter filter)
List resource files with a given path relative to root directories in the class path and are accepted by a given FilenameFilter. |
static void |
main(String[] args)
Supported API: true |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String[] list()
public static String[] list(FilenameFilter filter)
FilenameFilter.
filter - a FilenameFilter to filter listed names
public static String[] list(String path)
path - resource name path (forward slash separated)
public static String[] list(String path,
FilenameFilter filter)
FilenameFilter.
path - resource name path (forward slash separated)filter - a FilenameFilter to filter listed names
public static void main(String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||