|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.mungoknotwise.sqlcli.BasicPrintStreamed
A basic implementation of the PrintStreamed interface.
| Constructor Summary | |
BasicPrintStreamed()
Constructs a new instance of AbstractPrintStreamed. |
|
| Method Summary | |
void |
addPrintStream(java.io.PrintStream printStream)
Adds the specified print stream to this object's print streams. |
protected void |
print(java.lang.String line)
Prints the specified line to this object's print streams. |
protected void |
println(java.lang.String line)
Prints the specified line to this object's print streams. |
void |
removePrintStream(java.io.PrintStream printStream)
Removes the specified print stream to this object's print streams. |
protected java.util.Iterator |
streamIterator()
Returns an iterator of this object's print streams. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BasicPrintStreamed()
AbstractPrintStreamed.
| Method Detail |
public void addPrintStream(java.io.PrintStream printStream)
addPrintStream in interface PrintStreamedprintStream - the print stream to be addedpublic void removePrintStream(java.io.PrintStream printStream)
removePrintStream in interface PrintStreamedprintStream - the print stream to be addedprotected void print(java.lang.String line)
line - the line to printprotected void println(java.lang.String line)
line - the line to printprotected java.util.Iterator streamIterator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||