|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.edg.security.trustmanager.DirectoryList
This class lists all the files defined in the constructor. The definitions can be in three forms. 1. absolute file (/tmp/test.txt) 2. absolute path (/tmp) 3. a wildcard file (/tmp/*.txt) In case 1. only the file is returned. In case 2. all files in the directory are returned In case 3. all the files in the directory tmp having the .txt ending are returned. The returning means the return of the getListing method.
Constructor Summary | |
DirectoryList(java.lang.String path)
Creates a new instance of DirectoryList |
Method Summary | |
java.util.List |
getListing()
Used to get the file listing, the list of files matching the definition in constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DirectoryList(java.lang.String path) throws java.io.IOException
path
- The file definition, see class description above.
java.lang.Exception
- Thrown if the path was invalid
java.io.IOException
Method Detail |
public java.util.List getListing()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |