Package jason.runtime
Class OutputStreamAdapter
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
java.io.PrintStream
jason.runtime.OutputStreamAdapter
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
adapts an output print stream to a GUI interface (MasConsole or some JTextArea)
-
Field Summary
Fields inherited from class java.io.FilterOutputStream
out
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
print
(boolean arg) void
print
(char arg0) void
print
(double arg0) void
print
(float arg0) void
print
(int arg0) void
print
(long arg0) void
void
void
println()
void
println
(boolean arg0) void
println
(char arg0) void
println
(double arg0) void
println
(float arg0) void
println
(int arg0) void
println
(long arg0) void
void
void
void
toString()
Methods inherited from class java.io.PrintStream
append, append, append, charset, checkError, clearError, close, flush, format, format, print, printf, printf, println, setError, write, write, write, writeBytes
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Field Details
-
originalOut
-
originalErr
-
-
Constructor Details
-
OutputStreamAdapter
-
-
Method Details
-
setAsDefaultOut
public void setAsDefaultOut() -
restoreOriginalOut
public void restoreOriginalOut() -
print
- Overrides:
print
in classPrintStream
-
println
- Overrides:
println
in classPrintStream
-
print
- Overrides:
print
in classPrintStream
-
println
- Overrides:
println
in classPrintStream
-
print
public void print(boolean arg) - Overrides:
print
in classPrintStream
-
print
public void print(char arg0) - Overrides:
print
in classPrintStream
-
print
public void print(double arg0) - Overrides:
print
in classPrintStream
-
print
public void print(float arg0) - Overrides:
print
in classPrintStream
-
print
public void print(int arg0) - Overrides:
print
in classPrintStream
-
print
public void print(long arg0) - Overrides:
print
in classPrintStream
-
println
public void println(boolean arg0) - Overrides:
println
in classPrintStream
-
println
public void println(char arg0) - Overrides:
println
in classPrintStream
-
println
public void println(double arg0) - Overrides:
println
in classPrintStream
-
println
public void println(float arg0) - Overrides:
println
in classPrintStream
-
println
public void println(int arg0) - Overrides:
println
in classPrintStream
-
println
public void println(long arg0) - Overrides:
println
in classPrintStream
-
println
public void println()- Overrides:
println
in classPrintStream
-
toString
-