Class Java7Base64UrlSafeEncoder

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String decode​(java.lang.String s)
      Decodes a string back to it's initial representation.
      java.lang.String encode​(java.lang.String s)
      Encodes an object to another representation.
      static Java7Base64UrlSafeEncoder 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 s)
        Description copied from interface: StringEncoder
        Encodes an object to another representation.
        Specified by:
        encode in interface StringEncoder<java.lang.String>
        Parameters:
        s - the object to encode.
        Returns:
        the encoded String
      • decode

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