org.opengts.util
Class Print.RedirectStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by java.io.PrintStream
              extended by org.opengts.util.Print.RedirectStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable, java.lang.Appendable
Enclosing class:
Print

public static class Print.RedirectStream
extends java.io.PrintStream

Abstract class to provide log print redirection


Field Summary
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
Print.RedirectStream()
           
 
Method Summary
 void print(java.lang.String s)
           
 void println(java.lang.String s)
           
 
Methods inherited from class java.io.PrintStream
append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, setError, write, write
 
Methods inherited from class java.io.FilterOutputStream
write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Print.RedirectStream

public Print.RedirectStream()
Method Detail

print

public void print(java.lang.String s)
Overrides:
print in class java.io.PrintStream

println

public void println(java.lang.String s)
Overrides:
println in class java.io.PrintStream