jist.swans.app.io
Class InputStreamReader
java.lang.Object
java.io.Reader
java.io.InputStreamReader
jist.swans.app.io.InputStreamReader
- All Implemented Interfaces:
- java.io.Closeable, java.lang.Readable
public class InputStreamReader
- extends java.io.InputStreamReader
A functionally identical port of java.io.InputStreamReader, primarily
brought into jist.swans.app.io package so that it could be dynamically
rewritten.
- Since:
- SWANS1.0
Fields inherited from class java.io.Reader |
lock |
Methods inherited from class java.io.Reader |
mark, markSupported, read, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InputStreamReader
public InputStreamReader(InputStream in)
- See Also:
InputStreamReader
InputStreamReader
public InputStreamReader(InputStream in,
java.lang.String charsetName)
throws java.io.UnsupportedEncodingException
- Throws:
java.io.UnsupportedEncodingException
- See Also:
InputStreamReader
InputStreamReader
public InputStreamReader(InputStream in,
java.nio.charset.Charset cs)
- See Also:
InputStreamReader
InputStreamReader
public InputStreamReader(InputStream in,
java.nio.charset.CharsetDecoder dec)
- See Also:
InputStreamReader
getEncoding
public java.lang.String getEncoding()
- Overrides:
getEncoding
in class java.io.InputStreamReader
- See Also:
InputStreamReader
read
public int read()
throws java.io.IOException,
JistAPI.Continuable
- Overrides:
read
in class java.io.InputStreamReader
- Throws:
java.io.IOException
JistAPI.Continuable
- See Also:
InputStreamReader
read
public int read(char[] cbuf,
int offset,
int length)
throws java.io.IOException,
JistAPI.Continuable
- Overrides:
read
in class java.io.InputStreamReader
- Throws:
java.io.IOException
JistAPI.Continuable
- See Also:
InputStreamReader
ready
public boolean ready()
throws java.io.IOException
- Overrides:
ready
in class java.io.InputStreamReader
- Throws:
java.io.IOException
- See Also:
InputStreamReader
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface java.io.Closeable
- Overrides:
close
in class java.io.InputStreamReader
- Throws:
java.io.IOException
- See Also:
InputStreamReader