Package org.drools.util.io
Class ReaderInputStream.NonCloseable
- java.lang.Object
-
- java.io.InputStream
-
- org.drools.util.io.ReaderInputStream
-
- org.drools.util.io.ReaderInputStream.NonCloseable
-
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
- ReaderInputStream
public static class ReaderInputStream.NonCloseable extends ReaderInputStream
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.drools.util.io.ReaderInputStream
ReaderInputStream.NonCloseable
-
-
Constructor Summary
Constructors Constructor Description NonCloseable(Reader reader)NonCloseable(Reader reader, String encoding)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Closes the Reader.-
Methods inherited from class org.drools.util.io.ReaderInputStream
available, mark, markSupported, read, read, reset
-
Methods inherited from class java.io.InputStream
nullInputStream, read, readAllBytes, readNBytes, readNBytes, skip, transferTo
-
-
-
-
Method Detail
-
close
public void close() throws IOExceptionDescription copied from class:ReaderInputStreamCloses the Reader.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classReaderInputStream- Throws:
IOException- if the original Reader fails to be closed
-
-