Package opennlp.tools.util.model
Class UncloseableInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- opennlp.tools.util.model.UncloseableInputStream
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public class UncloseableInputStream extends java.io.FilterInputStreamAnInputStreamwhich cannot be closed.
-
-
Constructor Summary
Constructors Constructor Description UncloseableInputStream(java.io.InputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()This method does not has any effect theInputStreamcannot be closed.-
Methods inherited from class java.io.FilterInputStream
available, mark, markSupported, read, read, read, reset, skip
-
-
-
-
Method Detail
-
close
public void close() throws java.io.IOExceptionThis method does not has any effect theInputStreamcannot be closed.- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Overrides:
closein classjava.io.FilterInputStream- Throws:
java.io.IOException
-
-