Package | Description |
---|---|
org.apache.commons.codec |
A small set of interfaces used by
the various implementations in the sub-packages.
|
org.apache.commons.codec.binary |
Base64, Binary, and Hexadecimal String encoding and decoding.
|
org.apache.commons.codec.language |
Language and phonetic encoders.
|
org.apache.commons.codec.net |
Network related encoding and decoding.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
BinaryEncoder.encode(byte[] pArray)
Encodes a byte array and return the encoded data
as a byte array.
|
Object |
Encoder.encode(Object pObject)
Encodes an "Object" and returns the encoded content
as an Object.
|
String |
StringEncoder.encode(String pString)
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 |
Base64.encode(Object pObject)
Encodes an Object using the base64 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 |
Metaphone.encode(Object pObject)
Encodes an Object using the metaphone algorithm.
|
Object |
Caverphone.encode(Object pObject)
Encodes an Object using the caverphone algorithm.
|
Object |
Soundex.encode(Object pObject)
Encodes an Object using the soundex algorithm.
|
Object |
RefinedSoundex.encode(Object pObject)
Encodes an Object using the refined soundex algorithm.
|
Object |
DoubleMetaphone.encode(Object obj)
Encode the value using DoubleMetaphone.
|
Modifier and Type | Method and Description |
---|---|
Object |
URLCodec.encode(Object pObject)
Encodes an object into its URL safe form.
|
Object |
QuotedPrintableCodec.encode(Object pObject)
Encodes an object into its quoted-printable safe form.
|
Object |
QCodec.encode(Object pObject)
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 pString)
Encodes a string into its URL safe form using the default string
charset.
|
String |
QuotedPrintableCodec.encode(String pString)
Encodes a string into its quoted-printable form using the default string charset.
|
String |
QCodec.encode(String pString)
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 pString,
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-2013 JBoss by Red Hat. All Rights Reserved.