org.apache.maven.shared.release.exec
Class TeeOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by org.apache.maven.shared.release.exec.TeeOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class TeeOutputStream
extends FilterOutputStream


Field Summary
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
TeeOutputStream(OutputStream out)
           
TeeOutputStream(OutputStream out, String i)
           
 
Method Summary
 String getContent()
           
 String toString()
           
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 
Methods inherited from class java.io.FilterOutputStream
close, flush, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TeeOutputStream

public TeeOutputStream(OutputStream out)

TeeOutputStream

public TeeOutputStream(OutputStream out,
                       String i)
Method Detail

write

public void write(byte[] b,
                  int off,
                  int len)
           throws IOException
Overrides:
write in class FilterOutputStream
Throws:
IOException

write

public void write(int b)
           throws IOException
Overrides:
write in class FilterOutputStream
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object

getContent

public String getContent()


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.