org.apache.commons.codec.BinaryEncoder |
Known Indirect Subclasses
Base64 |
Provides Base64 encoding and decoding as defined by RFC 2045. |
BinaryCodec |
Translates between byte arrays and strings of "0"s and "1"s. |
Hex |
Hex encoder and decoder. |
QuotedPrintableCodec |
Codec for the Quoted-Printable section of RFC 1521 . |
URLCodec |
Implements the 'www-form-urlencoded' encoding scheme,
also misleadingly known as URL encoding. |
|
Class Overview
Defines common encoding methods for byte array encoders.
Summary
Public Methods |
abstract
byte[]
|
encode(byte[] pArray)
Encodes a byte array and return the encoded data
as a byte array.
|
Public Methods
public
abstract
byte[]
encode
(byte[] pArray)
Encodes a byte array and return the encoded data
as a byte array.
Parameters
pArray
| Data to be encoded |
Returns
- A byte array containing the encoded data
Throws
EncoderException
| thrown if the Encoder
encounters a failure condition during the
encoding process.
|