org.elite.jdcbot.util
Class NullPrinter

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by java.io.PrintStream
              extended by org.elite.jdcbot.util.NullPrinter
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable, java.lang.Appendable

public class NullPrinter
extends java.io.PrintStream

Created on 26-May-08
Use this class if you donot want framework to print to console or any other place. You want all the debug informations to be lost.

Since:
0.7
Version:
0.1
Author:
AppleGrew

Field Summary
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
NullPrinter()
           
 
Method Summary
 void println()
           
 void println(boolean b)
           
 void println(char c)
           
 void println(char[] c)
           
 void println(double d)
           
 void println(int i)
           
 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, print, printf, printf, 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

NullPrinter

public NullPrinter()
Method Detail

println

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

println

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

println

public void println(boolean b)
Overrides:
println in class java.io.PrintStream

println

public void println(int i)
Overrides:
println in class java.io.PrintStream

println

public void println(double d)
Overrides:
println in class java.io.PrintStream

println

public void println(char c)
Overrides:
println in class java.io.PrintStream

println

public void println(char[] c)
Overrides:
println in class java.io.PrintStream