public final class Java7Base64UrlSafeEncoder extends Object implements StringEncoder
Note: This does NOT produce standard Base 64 encodings, but a variant as defined in Section 4 of RFC3548: http://www.faqs.org/rfcs/rfc3548.html.
Modifier and Type | Method and Description |
---|---|
String |
decode(String s)
Decodes an string back to it's initial representation.
|
String |
encode(String s)
Encodes an string to another representation.
|
static Java7Base64UrlSafeEncoder |
getInstance() |
public static Java7Base64UrlSafeEncoder getInstance()
public String encode(String s)
StringEncoder
encode
in interface StringEncoder
public String decode(String s)
StringEncoder
decode
in interface StringEncoder