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, write
public 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 FilterOutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class FilterOutputStream
IOException
public byte[] getBuffer()
public int getLastByte()
Copyright © 2021 JBoss by Red Hat. All rights reserved.