Provides Base64 encoding and decoding as defined by RFC 2045.
Identical to the Base64 encoding defined by
RFC
1521 and allows a character set to be specified.
Constructor which allows for the selection of a default charset
Translates between byte arrays and strings of "0"s and "1"s.
Defines common decoding methods for byte array decoders.
Defines common encoding methods for byte array encoders.
Mask for bit 0 of a byte.
Mask for bit 1 of a byte.
Mask for bit 2 of a byte.
Mask for bit 3 of a byte.
Mask for bit 4 of a byte.
Mask for bit 5 of a byte.
Mask for bit 6 of a byte.
Mask for bit 7 of a byte.
BLANK - static field in class org.apache.commons.codec.net.
QCodec Gets the character at index index
if available, otherwise
it returns Character.MIN_VALUE
so that there is some sort
of a default
The default charset used for string decoding and encoding.
The default charset used for string decoding and encoding.
The default charset used for string decoding and encoding.
The default charset used for string decoding and encoding.
Chunk separator per RFC 2045 section 2.1.
Chunk size per RFC 2045 section 6.8.
Cleans up the input string before Soundex processing by only returning
upper case letters.
Compares two strings based not on the strings
themselves, but on an encoding of the two
strings using the StringEncoder this Comparator
was created with.
Complex condition 0 for 'C'
Complex condition 0 for 'CH'
Complex condition 1 for 'CH'
Complex condition 0 for 'L'
Complex condition 0 for 'M'
Shortcut method with 1 criteria
Shortcut method with 2 criteria
Shortcut method with 3 criteria
Shortcut method with 4 criteria
Shortcut method with 5 criteria
Shortcut method with 6 criteria
Determines whether value
contains any of the criteria
starting
at index start
and matching up to length length
Decodes a byte[] containing containing
characters in the Base64 alphabet.
Decodes a byte array where each byte represents an ascii '0' or '1'.
Decodes a byte array and returns the results as a byte array.
Converts an array of character bytes representing hexidecimal values into an
array of bytes of those same values.
Decodes an array of quoted-printable characters into an array of original bytes.
Decodes an array of URL safe 7-bit characters into an array of
original bytes.
Decodes an Object using the base64 algorithm.
Decodes a Base64 object into its original form.
Decodes a byte array where each byte represents an ascii '0' or '1'.
Decodes an "encoded" Object and returns a "decoded"
Object.
Converts a String or an array of character bytes representing hexidecimal values into an
array of bytes of those same values.
Decodes a quoted-printable object into its original form.
Decodes a quoted-printable object into its original form.
Decodes a URL safe object into its original form.
Decodes a Base64 string into its original form.
Decodes a quoted-printable string into its original form.
Decodes a quoted-printable string into its original form using the default string charset.
Decodes a String and returns a String.
Decodes a URL safe string into its original form using the default
string charset.
Decodes a quoted-printable string into its original form using the specified string charset.
Decodes a URL safe string into its original form using the
specified encoding.
Decodes Base64 data into octects
Converts an array of characters representing hexidecimal values into an
array of bytes of those same values.
Decodes an array quoted-printable characters into an array of original bytes.
Provides the highest level of abstraction for Decoders.
Thrown when a Decoder has encountered a failure condition during a decode.
Creates a DecoderException
Applies an RFC 1522 compliant decoding scheme to the given string of text.
Decodes an array of URL safe 7-bit characters into an array of
original bytes.
Returns the number of characters in the two encoded Strings that are the
same.
Encodes the Strings and returns the number of characters in the two encoded Strings that are the same.
Encodes the Strings and returns the number of characters in the two
encoded Strings that are the same.
Returns the number of characters in the two Soundex encoded Strings that
are the same.
Operations to simplifiy common java.security.MessageDigest
tasks.
DIGITS - static field in class org.apache.commons.codec.binary.
Hex Used building output as Hex
Discards any characters outside of the base64 alphabet, per
the requirements on page 25 of RFC 2045 - "Any characters
outside of the base64 alphabet are to be ignored in base64
encoded data."
Discards any whitespace from a base-64 encoded block.
Decodes an array of bytes using the defined encoding scheme
Decodes an array of bytes using the defined encoding scheme
Decodes an array of bytes using the defined encoding scheme
Encodes an array of bytes using the defined encoding scheme
Encodes an array of bytes using the defined encoding scheme
Encodes an array of bytes using the defined encoding scheme
Encodes a string into a double metaphone value.
Creates an instance of this DoubleMetaphone encoder
Encode a value with Double Metaphone
Encode a value with Double Metaphone, optionally using the alternate
encoding.
Inner class for storing results, since there is the optional alternate
encoding.
EIGHTBIT - static field in class org.apache.commons.codec.binary.
Base64 Used to calculate the number of bits in a byte.
Encodes a byte[] containing binary data, into a byte[] containing
characters in the Base64 alphabet.
Converts an array of raw binary data into an array of ascii 0 and 1 characters.
Encodes a byte array and return the encoded data
as a byte array.
Converts an array of bytes into an array of bytes for the characters representing the
hexidecimal values of each byte in order.
Encodes an array of bytes into an array of quoted-printable 7-bit characters.
Encodes an array of bytes into an array of URL safe 7-bit
characters.
Encodes an Object using the base64 algorithm.
Encodes an object into its Base64 form using the default charset.
Converts an array of raw binary data into an array of ascii 0 and 1 chars.
Encode the value using DoubleMetaphone.
Encodes an "Object" and returns the encoded content
as an Object.
Converts a String or an array of bytes into an array of characters representing the
hexidecimal values of each byte in order.
Encodes an Object using the metaphone algorithm.
Encodes an object into its quoted-printable form using the default charset.
Encodes an object into its quoted-printable safe form.
Encodes an Object using the refined soundex algorithm.
Encodes an Object using the soundex algorithm.
Encodes an object into its URL safe form.
Encodes a string into its Base64 form using the default charset.
Encode the value using DoubleMetaphone.
Encodes a String using the Metaphone algorithm.
Encodes a string into its quoted-printable form using the default charset.
Encodes a string into its quoted-printable form using the default string charset.
Encodes a String using the refined soundex algorithm.
Encodes a String using the soundex algorithm.
Encodes a String and returns a String.
Encodes a string into its URL safe form using the default string
charset.
Encodes a string into its Base64 form using the specified charset.
Encodes a string into its quoted-printable form using the specified charset.
Encodes a string into its quoted-printable form using the specified charset.
Encodes a string into its URL safe form using the specified
string charset.
Encodes binary data using the base64 algorithm but
does not chunk the output.
Encodes binary data using the base64 algorithm, optionally
chunking the output into 76 character blocks.
Encodes binary data using the base64 algorithm and chunks
the encoded output into 76 character blocks
Converts an array of bytes into an array of characters representing the hexidecimal values of each byte in order.
Encodes byte into its quoted-printable representation.
Encodes an array of bytes into an array of quoted-printable 7-bit characters.
Provides the highest level of abstraction for Encoders.
Thrown when there is a failure condition during the encoding process.
Creates a new instance of this exception with an useful message.
Applies an RFC 1522 compliant encoding scheme to the given string of text with the
given charset.
Encodes an array of bytes into an array of URL safe 7-bit
characters.
The default charset used for string decoding and encoding.
The default charset used for string decoding and encoding.
Returns the default charset used for string decoding and encoding.
The default charset used for string decoding and encoding.
Returns a MessageDigest for the given algorithm
.
Returns the codec name (referred to as encoding in the RFC 1522)
Returns the codec name (referred to as encoding in the RFC 1522)
Returns the codec name (referred to as encoding in the RFC 1522)
The String
encoding used for decoding and encoding.
Returns the mapping code for a given character.
Used internally by the SoundEx algorithm.
Returns an MD5 MessageDigest.
Returns the soundex mapping.
Tests a given byte array to see if it contains
only valid characters within the Base64 alphabet.
Check if the Double Metaphone values of two String
values
are equal.
Check if the Double Metaphone values of two String
values
are equal, optionally using the alternate value.
Tests if optional tranformation of SPACE characters is to be used
Tests is the metaphones of two strings are identical.
Determines whether or not the value starts with a silent letter.
Determines whether or not a value is of slavo-germanic orgin.
Determines whether or not a character is a vowel or not
Maps the given upper-case character to it's Soudex code.
Maximum length of an encoding, default is 4
The max code length for metaphone is 4
The maximum length of a Soundex code - Soundex codes are only four characters by definition.
Calculates the MD5 digest and returns the value as a 16 element
byte[]
.
Calculates the MD5 digest and returns the value as a 16 element
byte[]
.
Calculates the MD5 digest and returns the value as a 32 character
hex string.
Calculates the MD5 digest and returns the value as a 32 character
hex string.
Encodes a string into a metaphone value.
Creates an instance of the Metaphone encoder
Find the metaphone value of a String.
Defines whether optional tranformation of SPACE characters is to be used
Calculates the SHA digest and returns the value as a
byte[]
.
Calculates the SHA digest and returns the value as a
byte[]
.
Calculates the SHA digest and returns the value as a hex string.
Calculates the SHA digest and returns the value as a hex string.
SIGN - static field in class org.apache.commons.codec.binary.
Base64 Used to test the sign of a byte.
Prefixes when present which are not pronounced
Used when encoding something which has fewer than 24 bits.
Encodes a string into a Soundex value.
Creates an instance using US_ENGLISH_MAPPING
Creates a soundex instance using the given mapping.
Retreives the Refined Soundex code for a given String object.
Retreives the Soundex code for a given String object.
Every letter of the alphabet is "mapped" to a numerical value.
Every letter of the alphabet is "mapped" to a numerical value.
Decodes a String into a String.
Encodes a String into a String.
Internal encoder instance.
Strings are comparable, and this comparator allows
you to configure it with an instance of a class
which implements StringEncoder.
Constructs a new instance.
Constructs a new instance with the given algorithm.
String encodings used in this package.
Implements the 'www-form-urlencoded' encoding scheme,
also misleadingly known as URL encoding.
Constructor which allows for the selection of a default charset
Seven-bit ASCII, also known as ISO646-US, also known as the Basic Latin block of the Unicode character set.
This static variable contains an instance of the RefinedSoundex using
the US_ENGLISH mapping.
An instance of Soundex using the US_ENGLISH_MAPPING mapping.
RefinedSoundex is *refined* for a number of reasons one being that the
mappings have been altered.
This is a default mapping of the 26 letters used in US English.
This is a default mapping of the 26 letters used in US English.
Eight-bit Unicode Transformation Format.