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