Class NonClosingInputStream
java.lang.Object
java.io.InputStream
org.eclipse.ease.lang.scriptarchive.NonClosingInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
public class NonClosingInputStream extends InputStream
InputStream delegating all tasks to a base stream. The only method not forwarded is close().
-
Constructor Summary
Constructors Constructor Description NonClosingInputStream(InputStream baseStream) -
Method Summary
Methods inherited from class java.io.InputStream
close, nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
NonClosingInputStream
-
-
Method Details
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
available
- Overrides:
availablein classInputStream- Throws:
IOException
-
skip
- Overrides:
skipin classInputStream- Throws:
IOException
-
markSupported
public boolean markSupported()- Overrides:
markSupportedin classInputStream
-
mark
public void mark(int readlimit)- Overrides:
markin classInputStream
-
reset
- Overrides:
resetin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-