org.hudsonci.utils.io
Class ReplacableOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by org.hudsonci.utils.io.DelegatingOutputStream
          extended by org.hudsonci.utils.io.ReplacableOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class ReplacableOutputStream
extends DelegatingOutputStream

Allows the target output stream delegate to be changed.

Since:
2.1.0
Author:
Jason Dillon

Constructor Summary
ReplacableOutputStream(OutputStream out)
           
 
Method Summary
 void set(OutputStream out)
           
 
Methods inherited from class org.hudsonci.utils.io.DelegatingOutputStream
close, flush, getDelegate, setDelegate, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplacableOutputStream

public ReplacableOutputStream(OutputStream out)
Method Detail

set

public void set(OutputStream out)


Copyright © 2004-2011 Hudson. All Rights Reserved.