Package com.liferay.portal.kernel.io
Class ReaderInputStream
Object
InputStream
com.liferay.portal.kernel.io.ReaderInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Author:
- Tina Tian
-
Constructor Summary
ConstructorsConstructorDescriptionReaderInputStream
(Reader reader) ReaderInputStream
(Reader reader, String charsetName) ReaderInputStream
(Reader reader, String charsetName, int inputBufferSize, int outputBufferSize) -
Method Summary
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skipNBytes, transferTo
-
Constructor Details
-
ReaderInputStream
-
ReaderInputStream
-
ReaderInputStream
-
-
Method Details
-
available
public int available()- Overrides:
available
in classInputStream
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-
getEncoding
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
skip
- Overrides:
skip
in classInputStream
- Throws:
IOException
-