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.FilterInputStream
AnInputStream
which 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 void
close()
This method does not has any effect theInputStream
cannot 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.IOException
This method does not has any effect theInputStream
cannot be closed.- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Overrides:
close
in classjava.io.FilterInputStream
- Throws:
java.io.IOException
-
-