Top Description Fields Constructors Methods
org.apache.logging.log4j.util

public final Class Base64Util

extends Object
Class Inheritance
Imports
java.lang.reflect.Method, java.nio.charset.Charset, org.apache.logging.log4j.LoggingException

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

Modifier and TypeField and Description
private static Method
private static Object

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static String
encode(final String str)
Deprecated

This method does not specify an encoding for the str parameter and should not be used.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

encodeMethodback to summary
private static Method encodeMethod
encoderback to summary
private static Object encoder

Constructor Detail

Base64Utilback to summary
private Base64Util()

Method Detail

encodeback to summary
public static String encode(final String str)

Deprecated

This method does not specify an encoding for the str parameter and should not be used.

Annotations
@Deprecated