Java org.apache.commons.codec.binary Base64 fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.codec.binary Base64 fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.codec.binary Base64.

The text is from its open source code.

Subclass

org.apache.commons.codec.binary.Base64 has subclasses.
Click this link to see all its subclasses.

Constructor

Base64()
Creates a Base64 codec used for decoding (all modes) and encoding in URL-unsafe mode.
Base64(final int lineLength, final byte[] lineSeparator, final boolean urlSafe)
Creates a Base64 codec used for decoding (all modes) and encoding in URL-unsafe mode.
Base64(final boolean urlSafe)
Creates a Base64 codec used for decoding (all modes) and encoding in the given URL-safe mode.
Base64(final int lineLength)
Creates a Base64 codec used for decoding (all modes) and encoding in URL-unsafe mode.
Base64(final int lineLength, final byte[] lineSeparator)
Creates a Base64 codec used for decoding (all modes) and encoding in URL-unsafe mode.

Method

byte[]decodeBase64(final String base64String)
Decodes a Base64 String into octets
byte[]decodeBase64(final byte[] base64Data)
Decodes Base64 data into octets
byte[]encodeBase64(final byte[] binaryData)
Encodes binary data using the base64 algorithm but does not chunk the output.
byte[]encodeBase64(final byte[] binaryData, final boolean isChunked)
Encodes binary data using the base64 algorithm, optionally chunking the output into 76 character blocks.
byte[]encodeBase64(final byte[] binaryData, final boolean isChunked, final boolean urlSafe)
Encodes binary data using the base64 algorithm, optionally chunking the output into 76 character blocks.
byte[]encodeBase64(final byte[] binaryData, final boolean isChunked, final boolean urlSafe, final int maxResultSize)
Encodes binary data using the base64 algorithm, optionally chunking the output into 76 character blocks.
byte[]encodeBase64Chunked(final byte[] binaryData)
Encodes binary data using the base64 algorithm and chunks the encoded output into 76 character blocks
StringencodeBase64String(final byte[] binaryData)
Encodes binary data using the base64 algorithm but does not chunk the output.
byte[]encodeBase64URLSafe(final byte[] binaryData)
Encodes binary data using a URL-safe variation of the base64 algorithm but does not chunk the output.
StringencodeBase64URLSafeString(final byte[] binaryData)
Encodes binary data using a URL-safe variation of the base64 algorithm but does not chunk the output.
booleanisArrayByteBase64(final byte[] arrayOctet)
Tests a given byte array to see if it contains only valid characters within the Base64 alphabet.
booleanisBase64(final byte octet)
Returns whether or not the octet is in the base 64 alphabet.
booleanisBase64(final String base64)
Tests a given String to see if it contains only valid characters within the Base64 alphabet.
booleanisBase64(final byte[] arrayOctet)
Tests a given byte array to see if it contains only valid characters within the Base64 alphabet.