|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.io.EchoingPrintStream
public class EchoingPrintStream
EchoingPrintStream echoes print output to a secondary PrintStream. All strings printed to this stream are also printed to the secondary stream.
EchoingPrintWriter| Constructor Summary | |
|---|---|
EchoingPrintStream(java.io.OutputStream primary)
Deprecated. Construct an EchoingPrintStream which prints to both a primary OutputStream and to Standard.out |
|
EchoingPrintStream(java.io.OutputStream primary,
java.io.PrintStream secondary)
Deprecated. Construct an EchoingPrintStream which prints to both a primary OutputStream and to a secondary PrintStream. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Deprecated. Create a copy of the current EchoingPrintStream |
void |
close()
Deprecated. Close the print streams. |
void |
close(boolean closeSecondary)
Deprecated. Close the print streams. |
void |
print(java.lang.String s)
Deprecated. Print a string to both output streams. |
void |
println(java.lang.String s)
Deprecated. Print a string and a newline to both output streams. |
| Constructor Detail |
|---|
public EchoingPrintStream(java.io.OutputStream primary)
primary - an output stream to print to.
public EchoingPrintStream(java.io.OutputStream primary,
java.io.PrintStream secondary)
primary - an output stream to print to.secondary - a secondary PrintStream to which output
is also printed.| Method Detail |
|---|
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface com.sas.PublicClonableclone in class java.lang.Objectjava.lang.CloneNotSupportedException - if the
object cannot be cloned.public void print(java.lang.String s)
print in class java.io.PrintStreams - a string value.public void println(java.lang.String s)
println in class java.io.PrintStreams - a string value.public void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.PrintStreampublic void close(boolean closeSecondary)
closeSecondary - if true, also close the secondary stream.
if false, only close this stream.
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||