org.apache.maven.shared.release.exec
Class TeeOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.apache.maven.shared.release.exec.TeeOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
public class TeeOutputStream
- extends FilterOutputStream
TeeOutputStream
public TeeOutputStream(OutputStream out)
TeeOutputStream
public TeeOutputStream(OutputStream out,
String i)
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.