Package org.apache.logging.log4j.util
Class Base64Util
- java.lang.Object
-
- org.apache.logging.log4j.util.Base64Util
-
public final class Base64Util extends 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.- Since:
- 2.12.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Stringencode(String str)Deprecated.since 2.22.0, useBase64instead.
-
-
-
Method Detail
-
encode
@Deprecated public static String encode(String str)
Deprecated.since 2.22.0, useBase64instead.This method does not specify an encoding for thestrparameter and should not be used.
-
-