Package jadex.commons
Class ProtectedInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- jadex.commons.ProxyInputStream
-
- jadex.commons.ProtectedInputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class ProtectedInputStream extends ProxyInputStream
Protects the underlying input stream from being closed.
-
-
Constructor Summary
Constructors Constructor Description ProtectedInputStream(java.io.InputStream in)
Create a protected input stream.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Close the stream.-
Methods inherited from class jadex.commons.ProxyInputStream
read
-
Methods inherited from class java.io.FilterInputStream
available, mark, markSupported, read, read, reset, skip
-
-