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.
|
java.lang.Object |
Encoder.encode(java.lang.Object source)
Encodes an "Object" and returns the encoded content as an Object.
|
java.lang.String |
StringEncoder.encode(java.lang.String source)
Encodes a String and returns a String.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
BaseNCodec.encode(java.lang.Object obj)
Encodes an Object using the Base-N algorithm.
|
java.lang.Object |
BinaryCodec.encode(java.lang.Object raw)
Converts an array of raw binary data into an array of ASCII 0 and 1 chars.
|
java.lang.Object |
Hex.encode(java.lang.Object object)
Converts a String or an array of bytes into an array of characters representing the hexadecimal values of each
byte in order.
|
Modifier and Type | Method and Description |
---|---|
(package private) static int |
SoundexUtils.difference(StringEncoder encoder,
java.lang.String s1,
java.lang.String s2)
Encodes the Strings and returns the number of characters in the two
encoded Strings that are the same.
|
int |
RefinedSoundex.difference(java.lang.String s1,
java.lang.String s2)
Returns the number of characters in the two encoded Strings that are the
same.
|
int |
Soundex.difference(java.lang.String s1,
java.lang.String s2)
Encodes the Strings and returns the number of characters in the two encoded Strings that are the same.
|
java.lang.Object |
AbstractCaverphone.encode(java.lang.Object source)
Encodes an Object using the caverphone algorithm.
|
java.lang.Object |
Caverphone.encode(java.lang.Object obj)
Deprecated.
Encodes an Object using the caverphone algorithm.
|
java.lang.Object |
ColognePhonetic.encode(java.lang.Object object) |
java.lang.Object |
DaitchMokotoffSoundex.encode(java.lang.Object obj)
Encodes an Object using the Daitch-Mokotoff soundex algorithm without branching.
|
java.lang.Object |
DoubleMetaphone.encode(java.lang.Object obj)
Encode the value using DoubleMetaphone.
|
java.lang.Object |
MatchRatingApproachEncoder.encode(java.lang.Object pObject)
Encodes an Object using the Match Rating Approach algorithm.
|
java.lang.Object |
Metaphone.encode(java.lang.Object obj)
Encodes an Object using the metaphone algorithm.
|
java.lang.Object |
Nysiis.encode(java.lang.Object obj)
Encodes an Object using the NYSIIS algorithm.
|
java.lang.Object |
RefinedSoundex.encode(java.lang.Object obj)
Encodes an Object using the refined soundex algorithm.
|
java.lang.Object |
Soundex.encode(java.lang.Object obj)
Encodes an Object using the soundex algorithm.
|
boolean |
AbstractCaverphone.isEncodeEqual(java.lang.String str1,
java.lang.String str2)
Tests if the encodings of two strings are equal.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
BeiderMorseEncoder.encode(java.lang.Object source) |
java.lang.String |
BeiderMorseEncoder.encode(java.lang.String source) |
Modifier and Type | Method and Description |
---|---|
protected abstract byte[] |
RFC1522Codec.doEncoding(byte[] bytes)
Encodes an array of bytes using the defined encoding scheme.
|
java.lang.Object |
BCodec.encode(java.lang.Object value)
Encodes an object into its Base64 form using the default charset.
|
java.lang.Object |
QCodec.encode(java.lang.Object obj)
Encodes an object into its quoted-printable form using the default charset.
|
java.lang.Object |
QuotedPrintableCodec.encode(java.lang.Object obj)
Encodes an object into its quoted-printable safe form.
|
java.lang.Object |
URLCodec.encode(java.lang.Object obj)
Encodes an object into its URL safe form.
|
java.lang.String |
BCodec.encode(java.lang.String value)
Encodes a string into its Base64 form using the default charset.
|
java.lang.String |
QCodec.encode(java.lang.String str)
Encodes a string into its quoted-printable form using the default charset.
|
java.lang.String |
QuotedPrintableCodec.encode(java.lang.String str)
Encodes a string into its quoted-printable form using the default string charset.
|
java.lang.String |
URLCodec.encode(java.lang.String str)
Encodes a string into its URL safe form using the default string charset.
|
java.lang.String |
BCodec.encode(java.lang.String value,
java.nio.charset.Charset charset)
Encodes a string into its Base64 form using the specified charset.
|
java.lang.String |
QCodec.encode(java.lang.String str,
java.nio.charset.Charset charset)
Encodes a string into its quoted-printable form using the specified charset.
|
java.lang.String |
BCodec.encode(java.lang.String value,
java.lang.String charset)
Encodes a string into its Base64 form using the specified charset.
|
java.lang.String |
QCodec.encode(java.lang.String str,
java.lang.String charset)
Encodes a string into its quoted-printable form using the specified charset.
|
protected java.lang.String |
RFC1522Codec.encodeText(java.lang.String text,
java.nio.charset.Charset charset)
Applies an RFC 1522 compliant encoding scheme to the given string of text with the given charset.
|
protected java.lang.String |
RFC1522Codec.encodeText(java.lang.String text,
java.lang.String charsetName)
Applies an RFC 1522 compliant encoding scheme to the given string of text with the given charset.
|