Example usage for Java org.apache.commons.codec.binary Base64 fields, constructors, methods, implement or subclass
The text is from its open source code.
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. |
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 |
String | encodeBase64String(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. |
String | encodeBase64URLSafeString(final byte[] binaryData) Encodes binary data using a URL-safe variation of the base64 algorithm but does not chunk the output. |
boolean | isArrayByteBase64(final byte[] arrayOctet) Tests a given byte array to see if it contains only valid characters within the Base64 alphabet. |
boolean | isBase64(final byte octet) Returns whether or not the octet is in the base 64 alphabet. |
boolean | isBase64(final String base64) Tests a given String to see if it contains only valid characters within the Base64 alphabet. |
boolean | isBase64(final byte[] arrayOctet) Tests a given byte array to see if it contains only valid characters within the Base64 alphabet. |