Package org.apache.axiom.blob
Contains utility classes to work with binary data. They are typically used to store
data temporarily and often provide a better alternative than using
ByteArrayOutputStream
and ByteArrayInputStream
.-
Interface Summary Interface Description Blob Stores binary data.MemoryBlob Blob that stores data in memory.OverflowableBlob Blob that accumulates data in memory and transfers it to a different type of blob if the size exceeds a certain threshold.WritableBlob A writable blob.WritableBlobFactory<T extends WritableBlob> A factory forWritableBlob
instances. -
Class Summary Class Description AbstractWritableBlob Partial implementation of theWritableBlob
interface that implementsWritableBlob.readFrom(InputStream)
usingWritableBlob.getOutputStream()
andBlob.writeTo(OutputStream)
usingBlob.getInputStream()
.BlobDataSource Data source backed by aBlob
.Blobs Contains factory methods to create various types of blobs.MemoryBlobInputStream Input stream that doesn't throwIOException
and that supportsInputStream.mark(int)
.MemoryBlobOutputStream Output stream that doesn't throwIOException
and that implementsReadFromSupport
.