public class TeeOutputStream extends FilterOutputStream
out
Constructor and Description |
---|
TeeOutputStream(OutputStream out) |
TeeOutputStream(OutputStream out,
String i) |
Modifier and Type | Method and Description |
---|---|
String |
getContent() |
String |
toString() |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
close, flush, write
public TeeOutputStream(OutputStream out)
public TeeOutputStream(OutputStream out, String i)
public void write(byte[] b, int off, int len) throws IOException
write
in class FilterOutputStream
IOException
public void write(int b) throws IOException
write
in class FilterOutputStream
IOException
public String getContent()
Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.