Package org.apache.logging.log4j.util
Class Base64Util
- java.lang.Object
-
- org.apache.logging.log4j.util.Base64Util
-
public final class Base64Util extends java.lang.ObjectBase64 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.- Since:
- 2.12.0
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Base64.EncoderENCODER
-
Constructor Summary
Constructors Modifier Constructor Description privateBase64Util()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.lang.Stringencode(java.lang.String str)Deprecated.since 2.22.0, useBase64instead.
-