Package opennlp.tools.util.model
Class UncloseableInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
opennlp.tools.util.model.UncloseableInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
An
InputStream
which cannot be closed.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
This method does not have any effect, as theInputStream
cannot be closed.Methods inherited from class java.io.FilterInputStream
available, mark, markSupported, read, read, read, reset, skip
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
UncloseableInputStream
-
-
Method Details
-
close
This method does not have any effect, as theInputStream
cannot be closed.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFilterInputStream
- Throws:
IOException
-