Class Base64
java.lang.Object
com.github.scribejava.core.base64.Base64
- Direct Known Subclasses:
CommonsCodecBase64,Java8Base64,Jaxb230Base64,JaxbBase64
public abstract class Base64
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description Base64() -
Method Summary
Modifier and Type Method Description static java.lang.Stringencode(byte[] bytes)static java.lang.StringencodeUrlWithoutPadding(byte[] bytes)static Base64getInstance()static voidinit(Base64 base64)protected abstract java.lang.StringinternalEncode(byte[] bytes)protected abstract java.lang.StringinternalEncodeUrlWithoutPadding(byte[] bytes)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Base64
public Base64()
-
-
Method Details
-
getInstance
-
init
-
encode
public static java.lang.String encode(byte[] bytes) -
encodeUrlWithoutPadding
public static java.lang.String encodeUrlWithoutPadding(byte[] bytes) -
internalEncode
protected abstract java.lang.String internalEncode(byte[] bytes) -
internalEncodeUrlWithoutPadding
protected abstract java.lang.String internalEncodeUrlWithoutPadding(byte[] bytes)
-