Interface IonBlob

  • All Superinterfaces:
    java.lang.Cloneable, IonLob, IonValue

    public interface IonBlob
    extends IonLob
    An Ion blob value.

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

    • Method Detail

      • printBase64

        void printBase64​(java.lang.Appendable out)
                  throws NullValueException,
                         java.io.IOException
        Prints the content of this blob as Base64 text, without Ion's surrounding double-braces {{ }}.
        Parameters:
        out - will receive the Base64 content.
        Throws:
        NullValueException - if this.isNullValue().
        java.lang.NullPointerException - if out is null.
        java.io.IOException - if there's a problem writing to the output stream.
      • clone

        IonBlob clone()
               throws UnknownSymbolException
        Description copied from interface: IonValue
        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 IonValue.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.

        Specified by:
        clone in interface IonLob
        Specified by:
        clone in interface IonValue
        Throws:
        UnknownSymbolException - if any part of this value has unknown text but known Sid for its field name, annotation or symbol.