|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.imirsel.m2k.io.FileListWithClass
Represents a class of data as a list of filenames with a classname
| Constructor Summary | |
FileListWithClass()
Creates a new instance of FileListWithClass |
|
FileListWithClass(java.lang.String className_)
Creates a new instance of FileListWithClass |
|
FileListWithClass(java.lang.String className_,
java.lang.String[] fileList_)
Creates a new instance of FileListWithClass |
|
| Method Summary | |
void |
addFile(java.lang.String file)
Adds a file to the list |
java.lang.String |
entryAt(int i)
Returns a single filename from the list, specified by the index supplied |
java.lang.String |
getClassName()
Returns the class name applied to all of the files in the list |
int |
length()
Returns the length of the list |
java.lang.String[] |
returnList()
Returns a String[] containing all of the filenames in the list |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileListWithClass()
public FileListWithClass(java.lang.String className_)
className_ - The name of the new class
public FileListWithClass(java.lang.String className_,
java.lang.String[] fileList_)
className_ - The name of the new classfileList_ - The list of files| Method Detail |
public void addFile(java.lang.String file)
file - the filename to add to the listpublic int length()
public java.lang.String entryAt(int i)
i - the index of the filename to be returned from the list
public java.lang.String[] returnList()
String[] containing all of the filenames in the list
public java.lang.String getClassName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||