|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
java.io.ByteArrayOutputStream
com.sun.xml.bind.v2.util.ByteArrayOutputStreamEx
public final class ByteArrayOutputStreamEx
ByteArrayOutputStream
with access to its raw buffer.
Field Summary |
---|
Fields inherited from class java.io.ByteArrayOutputStream |
---|
buf, count |
Constructor Summary | |
---|---|
ByteArrayOutputStreamEx()
|
|
ByteArrayOutputStreamEx(int size)
|
Method Summary | |
---|---|
byte[] |
getBuffer()
|
void |
readFrom(InputStream is)
Reads the given InputStream completely into the buffer. |
void |
set(Base64Data dt,
String mimeType)
|
Methods inherited from class java.io.ByteArrayOutputStream |
---|
close, reset, size, toByteArray, toString, toString, toString, write, write, writeTo |
Methods inherited from class java.io.OutputStream |
---|
flush, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ByteArrayOutputStreamEx()
public ByteArrayOutputStreamEx(int size)
Method Detail |
---|
public void set(Base64Data dt, String mimeType)
public byte[] getBuffer()
public void readFrom(InputStream is) throws IOException
InputStream
completely into the buffer.
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |