|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.citool.file.FileList
public class FileList
Class that can hold a list of files and directories. Used to store files and directories found when traversing a directory.
Constructor Summary | |
---|---|
FileList()
|
Method Summary | |
---|---|
void |
addToDirList(Collection c)
Adds a list of objects to the end of the directory list |
void |
addToDirList(Object o)
Adds a single object to the end of the directory list |
void |
addToFileList(Collection c)
Adds a list of objects to the end of the file list |
void |
addToFileList(Object o)
Adds a single object to the end of the file list |
List |
getDirs()
Gets directories that were added to the list |
List |
getFiles()
Gets files that were added to the list |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileList()
Method Detail |
---|
public void addToFileList(Object o)
o
- a single file to addpublic void addToFileList(Collection c)
c
- a list of files to addpublic void addToDirList(Object o)
o
- a single directory to addpublic void addToDirList(Collection c)
c
- a list of directories to addpublic List getFiles()
public List getDirs()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |