| Package | Description | 
|---|---|
| org.apache.commons.codec | Interfaces and classes used by
    the various implementations in the sub-packages. | 
| org.apache.commons.codec.binary | Base64, Base32, Binary, and Hexadecimal String encoding and decoding. | 
| org.apache.commons.codec.language | Language and phonetic encoders. | 
| org.apache.commons.codec.language.bm | Implementation details of the Beider-Morse codec. | 
| org.apache.commons.codec.net | 
  Network related encoding and decoding. | 
| Modifier and Type | Method and Description | 
|---|---|
| byte[] | BinaryEncoder. encode(byte[] source)Encodes a byte array and return the encoded data as a byte array. | 
| Object | Encoder. encode(Object source)Encodes an "Object" and returns the encoded content as an Object. | 
| String | StringEncoder. encode(String source)Encodes a String and returns a String. | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | Hex. encode(Object object)Converts a String or an array of bytes into an array of characters representing the hexadecimal values of each
 byte in order. | 
| Object | BinaryCodec. encode(Object raw)Converts an array of raw binary data into an array of ASCII 0 and 1 chars. | 
| Object | BaseNCodec. encode(Object obj)Encodes an Object using the Base-N algorithm. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | Soundex. difference(String s1,
          String s2)Encodes the Strings and returns the number of characters in the two encoded Strings that are the same. | 
| int | RefinedSoundex. difference(String s1,
          String s2)Returns the number of characters in the two encoded Strings that are the
 same. | 
| Object | Soundex. encode(Object obj)Encodes an Object using the soundex algorithm. | 
| Object | RefinedSoundex. encode(Object obj)Encodes an Object using the refined soundex algorithm. | 
| Object | Nysiis. encode(Object obj)Encodes an Object using the NYSIIS algorithm. | 
| Object | Metaphone. encode(Object obj)Encodes an Object using the metaphone algorithm. | 
| Object | MatchRatingApproachEncoder. encode(Object pObject)Encodes an Object using the Match Rating Approach algorithm. | 
| Object | DoubleMetaphone. encode(Object obj)Encode the value using DoubleMetaphone. | 
| Object | DaitchMokotoffSoundex. encode(Object obj)Encodes an Object using the Daitch-Mokotoff soundex algorithm without branching. | 
| Object | ColognePhonetic. encode(Object object) | 
| Object | Caverphone. encode(Object obj)Deprecated.  Encodes an Object using the caverphone algorithm. | 
| Object | AbstractCaverphone. encode(Object source)Encodes an Object using the caverphone algorithm. | 
| boolean | AbstractCaverphone. isEncodeEqual(String str1,
             String str2)Tests if the encodings of two strings are equal. | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | BeiderMorseEncoder. encode(Object source) | 
| String | BeiderMorseEncoder. encode(String source) | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | URLCodec. encode(Object obj)Encodes an object into its URL safe form. | 
| Object | QuotedPrintableCodec. encode(Object obj)Encodes an object into its quoted-printable safe form. | 
| Object | QCodec. encode(Object obj)Encodes an object into its quoted-printable form using the default charset. | 
| Object | BCodec. encode(Object value)Encodes an object into its Base64 form using the default charset. | 
| String | URLCodec. encode(String str)Encodes a string into its URL safe form using the default string charset. | 
| String | QuotedPrintableCodec. encode(String str)Encodes a string into its quoted-printable form using the default string charset. | 
| String | QCodec. encode(String str)Encodes a string into its quoted-printable form using the default charset. | 
| String | BCodec. encode(String value)Encodes a string into its Base64 form using the default charset. | 
| String | QCodec. encode(String str,
      Charset charset)Encodes a string into its quoted-printable form using the specified charset. | 
| String | BCodec. encode(String value,
      Charset charset)Encodes a string into its Base64 form using the specified charset. | 
| String | QCodec. encode(String str,
      String charset)Encodes a string into its quoted-printable form using the specified charset. | 
| String | BCodec. encode(String value,
      String charset)Encodes a string into its Base64 form using the specified charset. | 
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.