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 |
BaseNCodec.encode(Object obj)
Encodes an Object using the Base-N algorithm.
|
Object |
BinaryCodec.encode(Object raw)
Converts an array of raw binary data into an array of ASCII 0 and 1 chars.
|
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.
|
Modifier and Type | Method and Description |
---|---|
int |
RefinedSoundex.difference(String s1,
String s2)
Returns the number of characters in the two encoded Strings that are the
same.
|
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.
|
Object |
AbstractCaverphone.encode(Object source)
Encodes an Object using the caverphone algorithm.
|
Object |
Caverphone.encode(Object obj)
Deprecated.
Encodes an Object using the caverphone algorithm.
|
Object |
ColognePhonetic.encode(Object object) |
Object |
DaitchMokotoffSoundex.encode(Object obj)
Encodes an Object using the Daitch-Mokotoff soundex algorithm without branching.
|
Object |
DoubleMetaphone.encode(Object obj)
Encode the value using DoubleMetaphone.
|
Object |
MatchRatingApproachEncoder.encode(Object pObject)
Encodes an Object using the Match Rating Approach algorithm.
|
Object |
Metaphone.encode(Object obj)
Encodes an Object using the metaphone algorithm.
|
Object |
Nysiis.encode(Object obj)
Encodes an Object using the NYSIIS algorithm.
|
Object |
RefinedSoundex.encode(Object obj)
Encodes an Object using the refined soundex algorithm.
|
Object |
Soundex.encode(Object obj)
Encodes an Object using the soundex 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 |
---|---|
byte[] |
PercentCodec.encode(byte[] bytes)
Percent-Encoding based on RFC 3986.
|
Object |
BCodec.encode(Object value)
Encodes an object into its Base64 form using the default Charset.
|
Object |
PercentCodec.encode(Object obj)
Encodes an object into using the Percent-Encoding.
|
Object |
QCodec.encode(Object obj)
Encodes an object into its quoted-printable form using the default Charset.
|
Object |
QuotedPrintableCodec.encode(Object obj)
Encodes an object into its quoted-printable safe form.
|
Object |
URLCodec.encode(Object obj)
Encodes an object into its URL safe form.
|
String |
BCodec.encode(String strSource)
Encodes a string into its Base64 form using the default Charset.
|
String |
QCodec.encode(String sourceStr)
Encodes a string into its quoted-printable form using the default Charset.
|
String |
QuotedPrintableCodec.encode(String sourceStr)
Encodes a string into its quoted-printable form using the default string Charset.
|
String |
URLCodec.encode(String str)
Encodes a string into its URL safe form using the default string charset.
|
String |
BCodec.encode(String strSource,
Charset sourceCharset)
Encodes a string into its Base64 form using the specified Charset.
|
String |
QCodec.encode(String sourceStr,
Charset sourceCharset)
Encodes a string into its quoted-printable form using the specified Charset.
|
String |
BCodec.encode(String strSource,
String sourceCharset)
Encodes a string into its Base64 form using the specified Charset.
|
String |
QCodec.encode(String sourceStr,
String sourceCharset)
Encodes a string into its quoted-printable form using the specified Charset.
|
Copyright © 2002–2019 The Apache Software Foundation. All rights reserved.