Package org.eclipse.net4j.util.io
Class ReaderInputStream
- java.lang.Object
- 
- java.io.InputStream
- 
- org.eclipse.net4j.util.io.ReaderInputStream
 
 
- 
- All Implemented Interfaces:
- java.io.Closeable,- java.lang.AutoCloseable
 
 public class ReaderInputStream extends java.io.InputStreamAn input stream for reading aReader.- Since:
- 3.13
- Author:
- Eike Stepper
 
- 
- 
Constructor SummaryConstructors Constructor Description ReaderInputStream(java.io.Reader reader)ReaderInputStream(java.io.Reader reader, java.lang.String encoding)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intavailable()voidclose()intread()intread(byte[] b, int off, int len)
 
- 
- 
- 
Method Detail- 
availablepublic int available() throws java.io.IOException- Overrides:
- availablein class- java.io.InputStream
- Throws:
- java.io.IOException
 
 - 
readpublic int read(byte[] b, int off, int len) throws java.io.IOException- Overrides:
- readin class- java.io.InputStream
- Throws:
- java.io.IOException
 
 - 
readpublic int read() throws java.io.IOException- Specified by:
- readin class- java.io.InputStream
- Throws:
- java.io.IOException
 
 - 
closepublic void close() throws java.io.IOException- Specified by:
- closein interface- java.lang.AutoCloseable
- Specified by:
- closein interface- java.io.Closeable
- Overrides:
- closein class- java.io.InputStream
- Throws:
- java.io.IOException
 
 
- 
 
-