|
|||||||||
| Home >> All >> org >> mitre >> cvw >> [ console overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.mitre.cvw.console
Class ConsoleStream

java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
java.io.PrintStream
org.mitre.cvw.console.ConsoleStream
- class ConsoleStream
- extends java.io.PrintStream
Console stream implementation This class copies any stream input into the textArea passed in the constructor
- Version:
- 1.0
| Field Summary | |
private javax.swing.JTextArea |
textArea
|
| Fields inherited from class java.io.PrintStream |
|
| Fields inherited from class java.io.FilterOutputStream |
out |
| Constructor Summary | |
ConsoleStream(java.io.OutputStream os,
javax.swing.JTextArea textArea)
Constructor |
|
| Method Summary | |
void |
print(boolean b)
This methods prints a boolean value to the stream. |
void |
print(char c)
This method prints a char to the stream. |
void |
print(char[] c)
This method prints an array of characters to the stream. |
void |
print(double d)
This method prints a double to the stream. |
void |
print(float f)
This method prints a float to the stream. |
void |
print(int i)
This method prints an integer to the stream. |
void |
print(long l)
This method prints a long to the stream. |
void |
print(java.lang.Object o)
This method prints an Object to the stream. |
void |
print(java.lang.String s)
This method prints a String to the stream. |
void |
println()
This method prints a line separator sequence to the stream. |
void |
println(boolean b)
This methods prints a boolean value to the stream. |
void |
println(char c)
This method prints a char to the stream. |
void |
println(char[] c)
This method prints an array of characters to the stream. |
void |
println(double d)
This method prints a double to the stream. |
void |
println(float f)
This method prints a float to the stream. |
void |
println(int i)
This method prints an integer to the stream. |
void |
println(long l)
This method prints a long to the stream. |
void |
println(java.lang.Object o)
This method prints an Object to the stream. |
void |
println(java.lang.String s)
This method prints a String to the stream. |
| Methods inherited from class java.io.PrintStream |
checkError, close, flush, setError, write, write |
| Methods inherited from class java.io.FilterOutputStream |
write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
textArea
private javax.swing.JTextArea textArea
| Constructor Detail |
ConsoleStream
public ConsoleStream(java.io.OutputStream os, javax.swing.JTextArea textArea)
- Constructor
| Method Detail |
public void print(boolean b)
- Description copied from class:
java.io.PrintStream - This methods prints a boolean value to the stream.
truevalues are printed as "true" andfalsevalues are printed as "false".
public void print(char c)
- Description copied from class:
java.io.PrintStream - This method prints a char to the stream. The actual value printed is
determined by the character encoding in use.
public void print(char[] c)
- Description copied from class:
java.io.PrintStream - This method prints an array of characters to the stream. The actual
value printed depends on the system default encoding.
public void print(double d)
- Description copied from class:
java.io.PrintStream - This method prints a double to the stream. The value printed is
determined using the
String.valueOf()method.
public void print(float f)
- Description copied from class:
java.io.PrintStream - This method prints a float to the stream. The value printed is
determined using the
String.valueOf()method.
public void print(int i)
- Description copied from class:
java.io.PrintStream - This method prints an integer to the stream. The value printed is
determined using the
String.valueOf()method.
public void print(long l)
- Description copied from class:
java.io.PrintStream - This method prints a long to the stream. The value printed is
determined using the
String.valueOf()method.
public void print(java.lang.Object o)
- Description copied from class:
java.io.PrintStream - This method prints an
Objectto the stream. The actual value printed is determined by calling theString.valueOf()method.
public void print(java.lang.String s)
- Description copied from class:
java.io.PrintStream - This method prints a
Stringto the stream. The actual value printed depends on the system default encoding.
println
public void println()
- Description copied from class:
java.io.PrintStream - This method prints a line separator sequence to the stream. The value
printed is determined by the system property
line.separator and is not necessarily the Unix '\n' newline character.
println
public void println(boolean b)
- Description copied from class:
java.io.PrintStream - This methods prints a boolean value to the stream.
truevalues are printed as "true" andfalsevalues are printed as "false".This method prints a line termination sequence after printing the value.
println
public void println(char c)
- Description copied from class:
java.io.PrintStream - This method prints a char to the stream. The actual value printed is
determined by the character encoding in use.
This method prints a line termination sequence after printing the value.
println
public void println(char[] c)
- Description copied from class:
java.io.PrintStream - This method prints an array of characters to the stream. The actual
value printed depends on the system default encoding.
This method prints a line termination sequence after printing the value.
println
public void println(double d)
- Description copied from class:
java.io.PrintStream - This method prints a double to the stream. The value printed is
determined using the
String.valueOf()method.This method prints a line termination sequence after printing the value.
println
public void println(float f)
- Description copied from class:
java.io.PrintStream - This method prints a float to the stream. The value printed is
determined using the
String.valueOf()method.This method prints a line termination sequence after printing the value.
println
public void println(int i)
- Description copied from class:
java.io.PrintStream - This method prints an integer to the stream. The value printed is
determined using the
String.valueOf()method.This method prints a line termination sequence after printing the value.
println
public void println(long l)
- Description copied from class:
java.io.PrintStream - This method prints a long to the stream. The value printed is
determined using the
String.valueOf()method.This method prints a line termination sequence after printing the value.
println
public void println(java.lang.Object o)
- Description copied from class:
java.io.PrintStream - This method prints an
Objectto the stream. The actual value printed is determined by calling theString.valueOf()method.This method prints a line termination sequence after printing the value.
println
public void println(java.lang.String s)
- Description copied from class:
java.io.PrintStream - This method prints a
Stringto the stream. The actual value printed depends on the system default encoding.This method prints a line termination sequence after printing the value.
|
|||||||||
| Home >> All >> org >> mitre >> cvw >> [ console overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC