Top Description Fields Constructors Methods
org.glassfish.jaxb.runtime.v2.util

public final Class ByteArrayOutputStreamEx

extends ByteArrayOutputStream
Class Inheritance
Imports
org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.Base64Data, java.io.ByteArrayOutputStream, .IOException, .InputStream

ByteArrayOutputStream with access to its raw buffer.

Field Summary

Inherited from java.io.ByteArrayOutputStream:
bufcount

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public byte[]
public void
readFrom(InputStream is)

Reads the given InputStream completely into the buffer.

public void
set(Base64Data dt, String mimeType)

Inherited from java.io.ByteArrayOutputStream:
closeresetsizetoByteArraytoStringtoStringtoStringtoStringwritewritewriteByteswriteTo

Constructor Detail

ByteArrayOutputStreamExback to summary
public ByteArrayOutputStreamEx()
ByteArrayOutputStreamExback to summary
public ByteArrayOutputStreamEx(int size)

Method Detail

getBufferback to summary
public byte[] getBuffer()
readFromback to summary
public void readFrom(InputStream is) throws IOException

Reads the given InputStream completely into the buffer.

setback to summary
public void set(Base64Data dt, String mimeType)