Package org.eclipse.net4j.util.io
Class ReaderInputStream
java.lang.Object
java.io.InputStream
org.eclipse.net4j.util.io.ReaderInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
An input stream for reading a
Reader
.- Since:
- 3.13
- Author:
- Eike Stepper
-
Constructor Summary
ConstructorDescriptionReaderInputStream
(Reader reader) ReaderInputStream
(Reader reader, String encoding) -
Method Summary
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
ReaderInputStream
- Throws:
IOException
-
ReaderInputStream
- Throws:
IOException
-
-
Method Details
-
available
- Overrides:
available
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-