public class FastByteArrayOutputStream extends OutputStream
| Constructor and Description |
|---|
FastByteArrayOutputStream() |
FastByteArrayOutputStream(int aSize) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addBuffer()
Create a new buffer and store the current one in linked list
|
void |
close() |
int |
getSize() |
byte[] |
toByteArray() |
String |
toString() |
void |
write(byte[] data,
int offset,
int length) |
void |
write(int datum) |
void |
writeTo(javax.servlet.jsp.JspWriter out,
String encoding) |
void |
writeTo(OutputStream out) |
void |
writeTo(RandomAccessFile out) |
flush, writepublic FastByteArrayOutputStream()
public FastByteArrayOutputStream(int aSize)
public void writeTo(OutputStream out) throws IOException
IOExceptionpublic void writeTo(RandomAccessFile out) throws IOException
IOExceptionpublic void writeTo(javax.servlet.jsp.JspWriter out,
String encoding)
throws IOException
IOExceptionpublic int getSize()
public byte[] toByteArray()
protected void addBuffer()
public void write(int datum)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] data,
int offset,
int length)
throws IOException
write in class OutputStreamIOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamCopyright © 2013 Atlassian. All Rights Reserved.