Package org.apache.logging.log4j.util
Class Base64Util
- java.lang.Object
-
- org.apache.logging.log4j.util.Base64Util
-
public final class Base64Util extends java.lang.Object
Base64 encodes Strings. This utility is only necessary because the mechanism to do this changed in Java 8 and the original method was removed in Java 9.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.reflect.Method
encodeMethod
private static java.lang.Object
encoder
-
Constructor Summary
Constructors Modifier Constructor Description private
Base64Util()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
encode(java.lang.String str)
-