public class DelegatingOutputStream extends OutputStream
| Constructor and Description |
|---|
DelegatingOutputStream() |
| Modifier and Type | Method and Description |
|---|---|
ByteArrayOutputStream |
getOutputStream() |
void |
setOutputStream(ByteArrayOutputStream outputStream) |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
close, flushpublic void write(byte[] b,
int off,
int len)
write in class OutputStreampublic void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(int b)
write in class OutputStreampublic ByteArrayOutputStream getOutputStream()
public void setOutputStream(ByteArrayOutputStream outputStream)
Copyright © 2022. All rights reserved.