net.ranides.assira.text
Class TextInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by net.ranides.assira.text.TextInputStream
All Implemented Interfaces:
Closeable

public class TextInputStream
extends InputStream

Author:
ranides

Constructor Summary
TextInputStream(String text)
           
TextInputStream(String text, Charset charset)
           
TextInputStream(String text, String charset)
           
 
Method Summary
 int read()
           
 
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextInputStream

public TextInputStream(String text,
                       Charset charset)

TextInputStream

public TextInputStream(String text,
                       String charset)

TextInputStream

public TextInputStream(String text)
Method Detail

read

public int read()
         throws IOException
Specified by:
read in class InputStream
Throws:
IOException


Copyright © 2013. All Rights Reserved.