类 OutputLogger.OutputPrintStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
java.io.PrintStream
weka.core.logging.OutputLogger.OutputPrintStream
- 所有已实现的接口:
Closeable
,Flushable
,Appendable
,AutoCloseable
- 封闭类:
- OutputLogger
A print stream class to capture all data from stdout and stderr.
- 版本:
- $Revision: 4716 $
- 作者:
- fracpete (fracpete at waikato dot ac dot nz)
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
flush()
ignored.void
print
(boolean x) prints the given boolean to the streams.void
print
(int x) prints the given int to the streams.void
prints the given object to the streams.void
prints the given string to the streams.void
println()
prints a new line to the streams.void
println
(boolean x) prints the given boolean to the streams.void
println
(int x) prints the given int to the streams.void
prints the given object to the streams (for Throwables we print the stack trace).void
prints the given string to the streams.从类继承的方法 java.io.PrintStream
append, append, append, checkError, close, format, format, print, print, print, print, print, printf, printf, println, println, println, println, println, write, write, write, writeBytes
从类继承的方法 java.io.OutputStream
nullOutputStream
-
构造器详细资料
-
OutputPrintStream
Default constructor.- 参数:
owner
- the owning loggerstream
- the stream- 抛出:
Exception
- if something goes wrong
-
-
方法详细资料
-
flush
public void flush()ignored.- 指定者:
flush
在接口中Flushable
- 覆盖:
flush
在类中PrintStream
-
print
public void print(int x) prints the given int to the streams.- 覆盖:
print
在类中PrintStream
- 参数:
x
- the object to print
-
print
public void print(boolean x) prints the given boolean to the streams.- 覆盖:
print
在类中PrintStream
- 参数:
x
- the object to print
-
print
prints the given string to the streams.- 覆盖:
print
在类中PrintStream
- 参数:
x
- the object to print
-
print
prints the given object to the streams.- 覆盖:
print
在类中PrintStream
- 参数:
x
- the object to print
-
println
public void println()prints a new line to the streams.- 覆盖:
println
在类中PrintStream
-
println
public void println(int x) prints the given int to the streams.- 覆盖:
println
在类中PrintStream
- 参数:
x
- the object to print
-
println
public void println(boolean x) prints the given boolean to the streams.- 覆盖:
println
在类中PrintStream
- 参数:
x
- the object to print
-
println
prints the given string to the streams.- 覆盖:
println
在类中PrintStream
- 参数:
x
- the object to print
-
println
prints the given object to the streams (for Throwables we print the stack trace).- 覆盖:
println
在类中PrintStream
- 参数:
x
- the object to print
-