Package org.robovm.compiler.util.io
Class NeverCloseOutputStream
java.lang.Object
java.io.OutputStream
org.robovm.compiler.util.io.NeverCloseOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
public class NeverCloseOutputStream extends OutputStream
OutputStream which wraps another OutputStream and forwards
all calls to it except OutputStream.close().-
Constructor Summary
Constructors Constructor Description NeverCloseOutputStream(OutputStream out) -
Method Summary
-
Constructor Details
-
NeverCloseOutputStream
-
-
Method Details
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
hashCode
public int hashCode() -
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
equals
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
toString
-