ewe.io
Class InputStreamReader

java.lang.Object
  extended byewe.io.Reader
      extended byewe.io.TextReader
          extended byewe.io.InputStreamReader
Direct Known Subclasses:
FileReader

public class InputStreamReader
extends TextReader

This is a thin wrapper around a TextReader to provide compatibility with the commonly used java.io.InputStreamReader class.


Field Summary
 
Fields inherited from class ewe.io.TextReader
bufferSize, closed, codec, input, stream
 
Fields inherited from class ewe.io.Reader
lock
 
Constructor Summary
InputStreamReader(BasicStream s)
           
InputStreamReader(BasicStream s, String codec)
           
InputStreamReader(InputStream s)
           
InputStreamReader(InputStream s, String codec)
           
 
Method Summary
 String getEncoding()
           
protected  void setCodec(String codec)
           
 
Methods inherited from class ewe.io.TextReader
close, read, readAll, readAll, readDirect, readFully, readFully, readLine, readString, ready
 
Methods inherited from class ewe.io.Reader
getLock, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, toString
 

Constructor Detail

InputStreamReader

public InputStreamReader(InputStream s,
                         String codec)
                  throws UnsupportedEncodingException

InputStreamReader

public InputStreamReader(InputStream s)

InputStreamReader

public InputStreamReader(BasicStream s,
                         String codec)
                  throws UnsupportedEncodingException

InputStreamReader

public InputStreamReader(BasicStream s)
Method Detail

getEncoding

public String getEncoding()

setCodec

protected void setCodec(String codec)
                 throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException