org.abstracthorizon.danube.http.util
Class EncodingPrintWrtier

java.lang.Object
  extended by java.io.Writer
      extended by java.io.PrintWriter
          extended by org.abstracthorizon.danube.http.util.EncodingPrintWrtier
All Implemented Interfaces:
Closeable, Flushable, Appendable

public class EncodingPrintWrtier
extends PrintWriter


Field Summary
protected  BufferlessOutputStreamWriter cachedOut
           
 
Fields inherited from class java.io.PrintWriter
out
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
EncodingPrintWrtier(OutputStream outputStream, String encoding)
           
 
Method Summary
 void close()
           
 String getEcoding()
           
 void resetInternals()
           
 void setEncoding(String encoding)
           
 
Methods inherited from class java.io.PrintWriter
append, append, append, checkError, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cachedOut

protected BufferlessOutputStreamWriter cachedOut
Constructor Detail

EncodingPrintWrtier

public EncodingPrintWrtier(OutputStream outputStream,
                           String encoding)
                    throws IllegalCharsetNameException,
                           UnsupportedEncodingException
Throws:
IllegalCharsetNameException
UnsupportedEncodingException
Method Detail

close

public void close()
Specified by:
close in interface Closeable
Overrides:
close in class PrintWriter

resetInternals

public void resetInternals()

setEncoding

public void setEncoding(String encoding)
                 throws UnsupportedEncodingException,
                        IllegalCharsetNameException
Throws:
UnsupportedEncodingException
IllegalCharsetNameException

getEcoding

public String getEcoding()


Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.