net.ranides.assira.text
Class TextOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by net.ranides.assira.text.TextOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class TextOutputStream
extends OutputStream

Author:
ranides

Constructor Summary
TextOutputStream()
           
TextOutputStream(Charset charset)
           
TextOutputStream(String charset)
           
 
Method Summary
 String text()
           
 String text(Charset charset)
           
 String text(String charset)
           
 String toString()
           
 void write(int value)
           
 
Methods inherited from class java.io.OutputStream
close, flush, write, write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextOutputStream

public TextOutputStream(String charset)

TextOutputStream

public TextOutputStream(Charset charset)

TextOutputStream

public TextOutputStream()
Method Detail

write

public void write(int value)
           throws IOException
Specified by:
write in class OutputStream
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object

text

public String text(String charset)

text

public String text(Charset charset)

text

public String text()


Copyright © 2013. All Rights Reserved.