Class Base64Adapter


  • public class Base64Adapter
    extends javax.xml.bind.annotation.adapters.XmlAdapter<byte[],​java.lang.String>
    • Constructor Summary

      Constructors 
      Constructor Description
      Base64Adapter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] marshal​(java.lang.String string)  
      java.lang.String unmarshal​(byte[] bytes)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Base64Adapter

        public Base64Adapter()
    • Method Detail

      • unmarshal

        public java.lang.String unmarshal​(byte[] bytes)
                                   throws java.lang.Exception
        Specified by:
        unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<byte[],​java.lang.String>
        Throws:
        java.lang.Exception
      • marshal

        public byte[] marshal​(java.lang.String string)
                       throws java.lang.Exception
        Specified by:
        marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<byte[],​java.lang.String>
        Throws:
        java.lang.Exception