org.hudsonci.utils.io
Class NoCloseOutputStream
java.lang.Object
java.io.OutputStream
org.hudsonci.utils.io.DelegatingOutputStream
org.hudsonci.utils.io.NoCloseOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
public class NoCloseOutputStream
- extends DelegatingOutputStream
Prevents target output stream from being closed.
- Since:
- 2.1.0
- Author:
- Jason Dillon
|
Method Summary |
void |
close()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoCloseOutputStream
public NoCloseOutputStream(OutputStream out)
close
public void close()
throws IOException
- Specified by:
close in interface Closeable- Overrides:
close in class DelegatingOutputStream
- Throws:
IOException
Copyright © 2004-2011 Hudson. All Rights Reserved.