oracle.jbo.common
Class DiagnosticStream
java.lang.Object
java.io.Writer
java.io.PrintWriter
oracle.jbo.common.DiagnosticStream
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable, java.lang.Appendable
public class DiagnosticStream
- extends java.io.PrintWriter
This class allows you to pass an instance of itself to
code that expects to be using a PrintStream, and to indirect
through the Diagnostic facility: hence the output can
be controlled using the system properties jbo.diagnostic.logging
etcetera.
- Since:
- 3.1
Fields inherited from class java.io.PrintWriter |
out |
Fields inherited from class java.io.Writer |
lock |
Methods inherited from class java.io.PrintWriter |
append, append, append, clearError, format, format, printf, printf, write, write, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiagnosticStream
public DiagnosticStream()
print
public void print(java.lang.String s)
- Overrides:
print
in class java.io.PrintWriter
println
public void println(java.lang.String s)
- Overrides:
println
in class java.io.PrintWriter
flush
public void flush()
- Specified by:
flush
in interface java.io.Flushable
- Overrides:
flush
in class java.io.PrintWriter
close
public void close()
- Specified by:
close
in interface java.io.Closeable
- Overrides:
close
in class java.io.PrintWriter
checkError
public boolean checkError()
- Overrides:
checkError
in class java.io.PrintWriter
setError
protected void setError()
- Overrides:
setError
in class java.io.PrintWriter
write
public void write(int b)
- Overrides:
write
in class java.io.PrintWriter
write
public void write(byte[] buf,
int off,
int len)
print
public void print(boolean b)
- Overrides:
print
in class java.io.PrintWriter
print
public void print(char c)
- Overrides:
print
in class java.io.PrintWriter
print
public void print(int i)
- Overrides:
print
in class java.io.PrintWriter
print
public void print(long l)
- Overrides:
print
in class java.io.PrintWriter
print
public void print(float f)
- Overrides:
print
in class java.io.PrintWriter
print
public void print(double d)
- Overrides:
print
in class java.io.PrintWriter
print
public void print(char[] s)
- Overrides:
print
in class java.io.PrintWriter
print
public void print(java.lang.Object obj)
- Overrides:
print
in class java.io.PrintWriter
println
public void println()
- Overrides:
println
in class java.io.PrintWriter
println
public void println(boolean x)
- Overrides:
println
in class java.io.PrintWriter
println
public void println(char x)
- Overrides:
println
in class java.io.PrintWriter
println
public void println(int x)
- Overrides:
println
in class java.io.PrintWriter
println
public void println(long x)
- Overrides:
println
in class java.io.PrintWriter
println
public void println(float x)
- Overrides:
println
in class java.io.PrintWriter
println
public void println(double x)
- Overrides:
println
in class java.io.PrintWriter
println
public void println(char[] x)
- Overrides:
println
in class java.io.PrintWriter
println
public void println(java.lang.Object x)
- Overrides:
println
in class java.io.PrintWriter
Copyright © 1997, 2010, Oracle. All rights reserved.