Top Description Methods
com.amazon.ion

public Interface IonBlob

extends IonLob
Known Direct Implementers
com.amazon.ion.impl.lite.IonBlobLite
Imports
java.io.IOException

An Ion blob value.

Warning

This interface should not be implemented or extended by code outside of this library.

Method Summary

Modifier and TypeMethod and Description
public IonBlob
clone()

Redeclares com.amazon.ion.IonLob.clone.

Creates a copy of this value and all of its children.

public void
printBase64(Appendable
will receive the Base64 content.
out
)

Prints the content of this blob as Base64 text, without Ion's surrounding double-braces {{ }}.

Inherited from com.amazon.ion.IonLob:
byteSizegetBytesnewInputStreamsetBytessetBytes

Method Detail

cloneback to summary
public IonBlob clone() throws UnknownSymbolException

Redeclares com.amazon.ion.IonLob.clone.

Doc from com.amazon.ion.IonValue.clone.

Creates a copy of this value and all of its children. The cloned value may use the same shared symbol tables, but it will have an independent local symbol table if necessary. The cloned value will be modifiable regardless of whether this instance isReadOnly().

The cloned value will be created in the context of the same ValueFactory as this instance; if you want a copy using a different factory, then use ValueFactory#clone(IonValue) instead.

Exceptions
UnknownSymbolException:
if any part of this value has unknown text but known Sid for its field name, annotation or symbol.
printBase64back to summary
public void printBase64(Appendable out) throws NullValueException, IOException

Prints the content of this blob as Base64 text, without Ion's surrounding double-braces {{ }}.

Parameters
out:Appendable

will receive the Base64 content.

Exceptions
NullValueException:
if this.isNullValue().
IOException:
if there's a problem writing to the output stream.
NullPointerException:
if out is null.