hudson.util
Class FlushProofOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by hudson.util.DelegatingOutputStream
          extended by hudson.util.FlushProofOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class FlushProofOutputStream
extends DelegatingOutputStream

OutputStream that blocks flush() method.

Since:
1.349
Author:
Kohsuke Kawaguchi

Field Summary
 
Fields inherited from class hudson.util.DelegatingOutputStream
out
 
Constructor Summary
FlushProofOutputStream(OutputStream out)
           
 
Method Summary
 void flush()
           
 
Methods inherited from class hudson.util.DelegatingOutputStream
close, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlushProofOutputStream

public FlushProofOutputStream(OutputStream out)
Method Detail

flush

public void flush()
           throws IOException
Specified by:
flush in interface Flushable
Overrides:
flush in class DelegatingOutputStream
Throws:
IOException


Copyright © 2004-2013. All Rights Reserved.