public class AccessibleBufferOutputStream extends FilterOutputStream
out| Constructor and Description |
|---|
AccessibleBufferOutputStream(OutputStream out)
Creates an output stream filter built on top of the specified
underlying output stream.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBuffer() |
int |
getLastByte() |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
close, flush, writepublic AccessibleBufferOutputStream(OutputStream out)
out - the underlying output stream to be assigned to
the field this.out for later use, or
null if this instance is to be
created without an underlying stream.public void write(int b)
throws IOException
write in class FilterOutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class FilterOutputStreamIOExceptionpublic byte[] getBuffer()
public int getLastByte()
Copyright © 2019 JBoss by Red Hat. All rights reserved.