Class AndroidBase64UrlSafeEncoder

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String decode​(java.lang.String string)
      Decodes a string back to it's initial representation.
      java.lang.String encode​(java.lang.String string)
      Encodes an object to another representation.
      static AndroidBase64UrlSafeEncoder getInstance()  
      • Methods inherited from class java.lang.Object

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

      • encode

        public java.lang.String encode​(java.lang.String string)
        Description copied from interface: StringEncoder
        Encodes an object to another representation.
        Specified by:
        encode in interface StringEncoder<java.lang.String>
        Parameters:
        string - the object to encode.
        Returns:
        the encoded String
      • decode

        public java.lang.String decode​(java.lang.String string)
        Description copied from interface: StringEncoder
        Decodes a string back to it's initial representation.
        Specified by:
        decode in interface StringEncoder<java.lang.String>
        Parameters:
        string - the string to decode.
        Returns:
        the decoded object