Package com.amazon.ion
Interface IonBlob
-
-
Field Summary
-
Fields inherited from interface com.amazon.ion.IonValue
EMPTY_ARRAY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IonBlobclone()Creates a copy of this value and all of its children.voidprintBase64(java.lang.Appendable out)Prints the content of this blob as Base64 text, without Ion's surrounding double-braces{{ }}.-
Methods inherited from interface com.amazon.ion.IonLob
byteSize, getBytes, newInputStream, setBytes, setBytes
-
Methods inherited from interface com.amazon.ion.IonValue
accept, addTypeAnnotation, clearTypeAnnotations, equals, getContainer, getFieldId, getFieldName, getFieldNameSymbol, getSymbolTable, getSystem, getType, getTypeAnnotations, getTypeAnnotationSymbols, hashCode, hasTypeAnnotation, isNullValue, isReadOnly, makeReadOnly, removeFromContainer, removeTypeAnnotation, setTypeAnnotations, setTypeAnnotationSymbols, topLevelValue, toPrettyString, toString, toString, writeTo
-
-
-
-
Method Detail
-
printBase64
void printBase64(java.lang.Appendable out) throws NullValueException, java.io.IOExceptionPrints the content of this blob as Base64 text, without Ion's surrounding double-braces{{ }}.- Parameters:
out- will receive the Base64 content.- Throws:
NullValueException- ifthis.isNullValue().java.lang.NullPointerException- ifoutis null.java.io.IOException- if there's a problem writing to the output stream.
-
clone
IonBlob clone() throws UnknownSymbolException
Description copied from interface:IonValueCreates 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 instanceIonValue.isReadOnly().The cloned value will be created in the context of the same
ValueFactoryas this instance; if you want a copy using a different factory, then useValueFactory.clone(IonValue)instead.- Specified by:
clonein interfaceIonLob- Specified by:
clonein interfaceIonValue- Throws:
UnknownSymbolException- if any part of this value has unknown text but known Sid for its field name, annotation or symbol.
-
-