|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.SecurePlay.debug.ReportToScreen.ReportToScreen
A class used for outputting test cases into files.

| Constructor Summary | |
ReportToScreen()
Default constructor. |
|
| Method Summary | |
void |
addLine(java.lang.String str)
This method adds a string line to the file. |
void |
addOutput(SPMap map)
This method adds a Vector of strings to the file line by line. |
void |
addOutput(java.lang.String[] v)
This method adds a String array to the file element by element. |
void |
addOutput(java.util.Vector v)
This method adds a Vector of strings to the file line by line. |
void |
closeFile()
This method closes the stream opened for output. |
void |
openFile(java.lang.String str)
This method opens a specified file for output. |
static boolean |
StringArrToFile(java.lang.String[] sa,
java.lang.String filename,
java.lang.String fileExtension)
This method creates a the specified file with the string array and with the specified exxtension. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ReportToScreen()
| Method Detail |
public void openFile(java.lang.String str)
str - String - specified file name to be opened for output.public void addLine(java.lang.String str)
str - String - a line to be added.public void addOutput(java.util.Vector v)
v - Vector - the vector to be added.public void addOutput(SPMap map)
map - SPMap - the vector to be added.
public void addOutput(java.lang.String[] v)
v - String[] - a string array to be added.public void closeFile()
public static boolean StringArrToFile(java.lang.String[] sa,
java.lang.String filename,
java.lang.String fileExtension)
sa - String[] - string array that will be outputed to the file.filename - String - file name to which the string array will be outputed.fileExtension - String - the desired file extenstion.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||