Package org.drools.core.io.impl
Class ReaderInputStream.NonCloseable
- java.lang.Object
-
- java.io.InputStream
-
- org.drools.core.io.impl.ReaderInputStream
-
- org.drools.core.io.impl.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.core.io.impl.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 void
close()
Closes the Reader.-
Methods inherited from class org.drools.core.io.impl.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 IOException
Description copied from class:ReaderInputStream
Closes the Reader.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classReaderInputStream
- Throws:
IOException
- if the original Reader fails to be closed
-
-