- Base64 - Class in org.apache.commons.codec.binary
-
Provides Base64 encoding and decoding as defined by RFC 2045.
- Base64() - Constructor for class org.apache.commons.codec.binary.Base64
-
Creates a Base64 codec used for decoding (all modes) and encoding in URL-unsafe mode.
- Base64(boolean) - Constructor for class org.apache.commons.codec.binary.Base64
-
Creates a Base64 codec used for decoding (all modes) and encoding in the given URL-safe mode.
- Base64(int) - Constructor for class org.apache.commons.codec.binary.Base64
-
Creates a Base64 codec used for decoding (all modes) and encoding in URL-unsafe mode.
- Base64(int, byte[]) - Constructor for class org.apache.commons.codec.binary.Base64
-
Creates a Base64 codec used for decoding (all modes) and encoding in URL-unsafe mode.
- Base64(int, byte[], boolean) - Constructor for class org.apache.commons.codec.binary.Base64
-
Creates a Base64 codec used for decoding (all modes) and encoding in URL-unsafe mode.
- base64 - Variable in class org.apache.commons.codec.binary.Base64InputStream
-
- base64 - Variable in class org.apache.commons.codec.binary.Base64OutputStream
-
- Base64InputStream - Class in org.apache.commons.codec.binary
-
Provides Base64 encoding and decoding in a streaming fashion (unlimited size).
- Base64InputStream(InputStream) - Constructor for class org.apache.commons.codec.binary.Base64InputStream
-
Creates a Base64InputStream such that all data read is Base64-decoded from the original provided InputStream.
- Base64InputStream(InputStream, boolean) - Constructor for class org.apache.commons.codec.binary.Base64InputStream
-
Creates a Base64InputStream such that all data read is either Base64-encoded or Base64-decoded from the original
provided InputStream.
- Base64InputStream(InputStream, boolean, int, byte[]) - Constructor for class org.apache.commons.codec.binary.Base64InputStream
-
Creates a Base64InputStream such that all data read is either Base64-encoded or Base64-decoded from the original
provided InputStream.
- Base64OutputStream - Class in org.apache.commons.codec.binary
-
Provides Base64 encoding and decoding in a streaming fashion (unlimited size).
- Base64OutputStream(OutputStream) - Constructor for class org.apache.commons.codec.binary.Base64OutputStream
-
Creates a Base64OutputStream such that all data written is Base64-encoded to the original provided OutputStream.
- Base64OutputStream(OutputStream, boolean) - Constructor for class org.apache.commons.codec.binary.Base64OutputStream
-
Creates a Base64OutputStream such that all data written is either Base64-encoded or Base64-decoded to the
original provided OutputStream.
- Base64OutputStream(OutputStream, boolean, int, byte[]) - Constructor for class org.apache.commons.codec.binary.Base64OutputStream
-
Creates a Base64OutputStream such that all data written is either Base64-encoded or Base64-decoded to the
original provided OutputStream.
- BCodec - Class in org.apache.commons.codec.net
-
Identical to the Base64 encoding defined by
RFC
1521 and allows a character set to be specified.
- BCodec() - Constructor for class org.apache.commons.codec.net.BCodec
-
Default constructor.
- BCodec(String) - Constructor for class org.apache.commons.codec.net.BCodec
-
Constructor which allows for the selection of a default charset
- BinaryCodec - Class in org.apache.commons.codec.binary
-
Translates between byte arrays and strings of "0"s and "1"s.
- BinaryCodec() - Constructor for class org.apache.commons.codec.binary.BinaryCodec
-
- BinaryDecoder - Interface in org.apache.commons.codec
-
Defines common decoding methods for byte array decoders.
- BinaryEncoder - Interface in org.apache.commons.codec
-
Defines common encoding methods for byte array encoders.
- BIT_0 - Static variable in class org.apache.commons.codec.binary.BinaryCodec
-
Mask for bit 0 of a byte.
- BIT_1 - Static variable in class org.apache.commons.codec.binary.BinaryCodec
-
Mask for bit 1 of a byte.
- BIT_2 - Static variable in class org.apache.commons.codec.binary.BinaryCodec
-
Mask for bit 2 of a byte.
- BIT_3 - Static variable in class org.apache.commons.codec.binary.BinaryCodec
-
Mask for bit 3 of a byte.
- BIT_4 - Static variable in class org.apache.commons.codec.binary.BinaryCodec
-
Mask for bit 4 of a byte.
- BIT_5 - Static variable in class org.apache.commons.codec.binary.BinaryCodec
-
Mask for bit 5 of a byte.
- BIT_6 - Static variable in class org.apache.commons.codec.binary.BinaryCodec
-
Mask for bit 6 of a byte.
- BIT_7 - Static variable in class org.apache.commons.codec.binary.BinaryCodec
-
Mask for bit 7 of a byte.
- BITS - Static variable in class org.apache.commons.codec.binary.BinaryCodec
-
- BLANK - Static variable in class org.apache.commons.codec.net.QCodec
-
- buffer - Variable in class org.apache.commons.codec.binary.Base64
-
Buffer for streaming.
- Caverphone - Class in org.apache.commons.codec.language
-
Encodes a string into a Caverphone value.
- Caverphone() - Constructor for class org.apache.commons.codec.language.Caverphone
-
Creates an instance of the Caverphone encoder
- caverphone(String) - Method in class org.apache.commons.codec.language.Caverphone
-
Find the caverphone value of a String.
- charAt(String, int) - Method in class org.apache.commons.codec.language.DoubleMetaphone
-
Gets the character at index index
if available, otherwise
it returns Character.MIN_VALUE
so that there is some sort
of a default
- CharEncoding - Class in org.apache.commons.codec
-
Character encoding names required of every implementation of the Java platform.
- CharEncoding() - Constructor for class org.apache.commons.codec.CharEncoding
-
- charset - Variable in class org.apache.commons.codec.net.BCodec
-
The default charset used for string decoding and encoding.
- charset - Variable in class org.apache.commons.codec.net.QCodec
-
The default charset used for string decoding and encoding.
- charset - Variable in class org.apache.commons.codec.net.QuotedPrintableCodec
-
The default charset used for string decoding and encoding.
- charset - Variable in class org.apache.commons.codec.net.URLCodec
-
The default charset used for string decoding and encoding.
- charsetName - Variable in class org.apache.commons.codec.binary.Hex
-
- CHUNK_SEPARATOR - Static variable in class org.apache.commons.codec.binary.Base64
-
Chunk separator per RFC 2045 section 2.1.
- CHUNK_SIZE - Static variable in class org.apache.commons.codec.binary.Base64
-
Chunk size per RFC 2045 section 6.8.
- clean(String) - Static method in class org.apache.commons.codec.language.SoundexUtils
-
Cleans up the input string before Soundex processing by only returning
upper case letters.
- cleanInput(String) - Method in class org.apache.commons.codec.language.DoubleMetaphone
-
Cleans the input
- close() - Method in class org.apache.commons.codec.binary.Base64OutputStream
-
Closes this output stream and releases any system resources associated with the stream.
- compare(Object, Object) - Method in class org.apache.commons.codec.StringEncoderComparator
-
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.
- conditionC0(String, int) - Method in class org.apache.commons.codec.language.DoubleMetaphone
-
Complex condition 0 for 'C'
- conditionCH0(String, int) - Method in class org.apache.commons.codec.language.DoubleMetaphone
-
Complex condition 0 for 'CH'
- conditionCH1(String, int) - Method in class org.apache.commons.codec.language.DoubleMetaphone
-
Complex condition 1 for 'CH'
- conditionL0(String, int) - Method in class org.apache.commons.codec.language.DoubleMetaphone
-
Complex condition 0 for 'L'
- conditionM0(String, int) - Method in class org.apache.commons.codec.language.DoubleMetaphone
-
Complex condition 0 for 'M'
- contains(String, int, int, String) - Static method in class org.apache.commons.codec.language.DoubleMetaphone
-
Shortcut method with 1 criteria
- contains(String, int, int, String, String) - Static method in class org.apache.commons.codec.language.DoubleMetaphone
-
Shortcut method with 2 criteria
- contains(String, int, int, String, String, String) - Static method in class org.apache.commons.codec.language.DoubleMetaphone
-
Shortcut method with 3 criteria
- contains(String, int, int, String, String, String, String) - Static method in class org.apache.commons.codec.language.DoubleMetaphone
-
Shortcut method with 4 criteria
- contains(String, int, int, String, String, String, String, String) - Static method in class org.apache.commons.codec.language.DoubleMetaphone
-
Shortcut method with 5 criteria
- contains(String, int, int, String, String, String, String, String, String) - Static method in class org.apache.commons.codec.language.DoubleMetaphone
-
Shortcut method with 6 criteria
- contains(String, int, int, String[]) - Static method in class org.apache.commons.codec.language.DoubleMetaphone
-
Determines whether value
contains any of the criteria starting at index start
and
matching up to length length
- containsBase64Byte(byte[]) - Static method in class org.apache.commons.codec.binary.Base64
-
Tests a given byte array to see if it contains only valid characters within the Base64 alphabet.
- currentLinePos - Variable in class org.apache.commons.codec.binary.Base64
-
Variable tracks how many characters have been written to the current line.
- decode(byte[], int, int) - Method in class org.apache.commons.codec.binary.Base64
-
Decodes all of the provided data, starting at inPos, for inAvail bytes.
- decode(Object) - Method in class org.apache.commons.codec.binary.Base64
-
Decodes an Object using the base64 algorithm.
- decode(String) - Method in class org.apache.commons.codec.binary.Base64
-
Decodes a String containing containing characters in the Base64 alphabet.
- decode(byte[]) - Method in class org.apache.commons.codec.binary.Base64
-
Decodes a byte[] containing containing characters in the Base64 alphabet.
- decode(Object) - Method in class org.apache.commons.codec.binary.BinaryCodec
-
Decodes a byte array where each byte represents an ASCII '0' or '1'.
- decode(byte[]) - Method in class org.apache.commons.codec.binary.BinaryCodec
-
Decodes a byte array where each byte represents an ASCII '0' or '1'.
- decode(byte[]) - Method in class org.apache.commons.codec.binary.Hex
-
Converts an array of character bytes representing hexadecimal values into an array of bytes of those same values.
- decode(Object) - Method in class org.apache.commons.codec.binary.Hex
-
Converts a String or an array of character bytes representing hexadecimal values into an array of bytes of those
same values.
- decode(byte[]) - Method in interface org.apache.commons.codec.BinaryDecoder
-
Decodes a byte array and returns the results as a byte array.
- decode(Object) - Method in interface org.apache.commons.codec.Decoder
-
Decodes an "encoded" Object and returns a "decoded"
Object.
- decode(String) - Method in class org.apache.commons.codec.net.BCodec
-
Decodes a Base64 string into its original form.
- decode(Object) - Method in class org.apache.commons.codec.net.BCodec
-
Decodes a Base64 object into its original form.
- decode(String) - Method in class org.apache.commons.codec.net.QCodec
-
Decodes a quoted-printable string into its original form.
- decode(Object) - Method in class org.apache.commons.codec.net.QCodec
-
Decodes a quoted-printable object into its original form.
- decode(byte[]) - Method in class org.apache.commons.codec.net.QuotedPrintableCodec
-
Decodes an array of quoted-printable characters into an array of original bytes.
- decode(String, String) - Method in class org.apache.commons.codec.net.QuotedPrintableCodec
-
Decodes a quoted-printable string into its original form using the specified string charset.
- decode(String) - Method in class org.apache.commons.codec.net.QuotedPrintableCodec
-
Decodes a quoted-printable string into its original form using the default string charset.
- decode(Object) - Method in class org.apache.commons.codec.net.QuotedPrintableCodec
-
Decodes a quoted-printable object into its original form.
- decode(byte[]) - Method in class org.apache.commons.codec.net.URLCodec
-
Decodes an array of URL safe 7-bit characters into an array of
original bytes.
- decode(String, String) - Method in class org.apache.commons.codec.net.URLCodec
-
Decodes a URL safe string into its original form using the
specified encoding.
- decode(String) - Method in class org.apache.commons.codec.net.URLCodec
-
Decodes a URL safe string into its original form using the default
string charset.
- decode(Object) - Method in class org.apache.commons.codec.net.URLCodec
-
Decodes a URL safe object into its original form.
- decode(String) - Method in interface org.apache.commons.codec.StringDecoder
-
Decodes a String and returns a String.
- DECODE_TABLE - Static variable in class org.apache.commons.codec.binary.Base64
-
This array is a lookup table that translates Unicode characters drawn from the "Base64 Alphabet" (as specified in
Table 1 of RFC 2045) into their 6-bit positive integer equivalents.
- decodeBase64(String) - Static method in class org.apache.commons.codec.binary.Base64
-
Decodes a Base64 String into octets
- decodeBase64(byte[]) - Static method in class org.apache.commons.codec.binary.Base64
-
Decodes Base64 data into octets
- decodeHex(char[]) - Static method in class org.apache.commons.codec.binary.Hex
-
Converts an array of characters representing hexadecimal values into an array of bytes of those same values.
- decodeInteger(byte[]) - Static method in class org.apache.commons.codec.binary.Base64
-
Decodes a byte64-encoded integer according to crypto standards such as W3C's XML-Signature
- decodeQuotedPrintable(byte[]) - Static method in class org.apache.commons.codec.net.QuotedPrintableCodec
-
Decodes an array quoted-printable characters into an array of original bytes.
- Decoder - Interface in org.apache.commons.codec
-
Provides the highest level of abstraction for Decoders.
- DecoderException - Exception in org.apache.commons.codec
-
Thrown when a Decoder has encountered a failure condition during a decode.
- DecoderException() - Constructor for exception org.apache.commons.codec.DecoderException
-
Constructs a new exception with null
as its detail message.
- DecoderException(String) - Constructor for exception org.apache.commons.codec.DecoderException
-
Constructs a new exception with the specified detail message.
- DecoderException(String, Throwable) - Constructor for exception org.apache.commons.codec.DecoderException
-
Constructsa new exception with the specified detail message and cause.
- DecoderException(Throwable) - Constructor for exception org.apache.commons.codec.DecoderException
-
Constructs a new exception with the specified cause and a detail message of (cause==null ?
null : cause.toString())
(which typically contains the class and detail message of cause
).
- decodeSize - Variable in class org.apache.commons.codec.binary.Base64
-
Convenience variable to help us determine when our buffer is going to run out of room and needs resizing.
- decodeText(String) - Method in class org.apache.commons.codec.net.RFC1522Codec
-
Applies an RFC 1522 compliant decoding scheme to the given string of text.
- decodeUrl(byte[]) - Static method in class org.apache.commons.codec.net.URLCodec
-
Decodes an array of URL safe 7-bit characters into an array of
original bytes.
- DEFAULT_BUFFER_RESIZE_FACTOR - Static variable in class org.apache.commons.codec.binary.Base64
-
- DEFAULT_BUFFER_SIZE - Static variable in class org.apache.commons.codec.binary.Base64
-
- DEFAULT_CHARSET_NAME - Static variable in class org.apache.commons.codec.binary.Hex
-
- difference(String, String) - Method in class org.apache.commons.codec.language.RefinedSoundex
-
Returns the number of characters in the two encoded Strings that are the
same.
- difference(String, String) - Method in class org.apache.commons.codec.language.Soundex
-
Encodes the Strings and returns the number of characters in the two encoded Strings that are the same.
- difference(StringEncoder, String, String) - Static method in class org.apache.commons.codec.language.SoundexUtils
-
Encodes the Strings and returns the number of characters in the two
encoded Strings that are the same.
- differenceEncoded(String, String) - Static method in class org.apache.commons.codec.language.SoundexUtils
-
Returns the number of characters in the two Soundex encoded Strings that
are the same.
- digest(MessageDigest, InputStream) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Read through an InputStream and returns the digest for the data
- DigestUtils - Class in org.apache.commons.codec.digest
-
Operations to simplifiy common MessageDigest
tasks.
- DigestUtils() - Constructor for class org.apache.commons.codec.digest.DigestUtils
-
- digit16(byte) - Static method in class org.apache.commons.codec.net.Utils
-
Returns the numeric value of the character b
in radix 16.
- DIGITS_LOWER - Static variable in class org.apache.commons.codec.binary.Hex
-
Used to build output as Hex
- DIGITS_UPPER - Static variable in class org.apache.commons.codec.binary.Hex
-
Used to build output as Hex
- discardWhitespace(byte[]) - Static method in class org.apache.commons.codec.binary.Base64
-
Deprecated.
This method is no longer needed
- doDecoding(byte[]) - Method in class org.apache.commons.codec.net.BCodec
-
- doDecoding(byte[]) - Method in class org.apache.commons.codec.net.QCodec
-
- doDecoding(byte[]) - Method in class org.apache.commons.codec.net.RFC1522Codec
-
Decodes an array of bytes using the defined encoding scheme
- doEncode - Variable in class org.apache.commons.codec.binary.Base64InputStream
-
- doEncode - Variable in class org.apache.commons.codec.binary.Base64OutputStream
-
- doEncoding(byte[]) - Method in class org.apache.commons.codec.net.BCodec
-
- doEncoding(byte[]) - Method in class org.apache.commons.codec.net.QCodec
-
- doEncoding(byte[]) - Method in class org.apache.commons.codec.net.RFC1522Codec
-
Encodes an array of bytes using the defined encoding scheme
- DoubleMetaphone - Class in org.apache.commons.codec.language
-
Encodes a string into a double metaphone value.
- DoubleMetaphone() - Constructor for class org.apache.commons.codec.language.DoubleMetaphone
-
Creates an instance of this DoubleMetaphone encoder
- doubleMetaphone(String) - Method in class org.apache.commons.codec.language.DoubleMetaphone
-
Encode a value with Double Metaphone
- doubleMetaphone(String, boolean) - Method in class org.apache.commons.codec.language.DoubleMetaphone
-
Encode a value with Double Metaphone, optionally using the alternate
encoding.
- DoubleMetaphone.DoubleMetaphoneResult - Class in org.apache.commons.codec.language
-
Inner class for storing results, since there is the optional alternate
encoding.
- DoubleMetaphone.DoubleMetaphoneResult(int) - Constructor for class org.apache.commons.codec.language.DoubleMetaphone.DoubleMetaphoneResult
-
- EMPTY_BYTE_ARRAY - Static variable in class org.apache.commons.codec.binary.BinaryCodec
-
Empty byte array.
- EMPTY_CHAR_ARRAY - Static variable in class org.apache.commons.codec.binary.BinaryCodec
-
Empty char array.
- encode(byte[], int, int) - Method in class org.apache.commons.codec.binary.Base64
-
Encodes all of the provided data, starting at inPos, for inAvail bytes.
- encode(Object) - Method in class org.apache.commons.codec.binary.Base64
-
Encodes an Object using the base64 algorithm.
- encode(byte[]) - Method in class org.apache.commons.codec.binary.Base64
-
Encodes a byte[] containing binary data, into a byte[] containing characters in the Base64 alphabet.
- encode(byte[]) - Method in class org.apache.commons.codec.binary.BinaryCodec
-
Converts an array of raw binary data into an array of ASCII 0 and 1 characters.
- encode(Object) - Method in class org.apache.commons.codec.binary.BinaryCodec
-
Converts an array of raw binary data into an array of ASCII 0 and 1 chars.
- encode(byte[]) - Method in class org.apache.commons.codec.binary.Hex
-
Converts an array of bytes into an array of bytes for the characters representing the hexadecimal values of each
byte in order.
- encode(Object) - Method in class org.apache.commons.codec.binary.Hex
-
Converts a String or an array of bytes into an array of characters representing the hexadecimal values of each
byte in order.
- encode(byte[]) - Method in interface org.apache.commons.codec.BinaryEncoder
-
Encodes a byte array and return the encoded data
as a byte array.
- encode(Object) - Method in interface org.apache.commons.codec.Encoder
-
Encodes an "Object" and returns the encoded content
as an Object.
- encode(Object) - Method in class org.apache.commons.codec.language.Caverphone
-
Encodes an Object using the caverphone algorithm.
- encode(String) - Method in class org.apache.commons.codec.language.Caverphone
-
Encodes a String using the Caverphone algorithm.
- encode(Object) - Method in class org.apache.commons.codec.language.DoubleMetaphone
-
Encode the value using DoubleMetaphone.
- encode(String) - Method in class org.apache.commons.codec.language.DoubleMetaphone
-
Encode the value using DoubleMetaphone.
- encode(Object) - Method in class org.apache.commons.codec.language.Metaphone
-
Encodes an Object using the metaphone algorithm.
- encode(String) - Method in class org.apache.commons.codec.language.Metaphone
-
Encodes a String using the Metaphone algorithm.
- encode(Object) - Method in class org.apache.commons.codec.language.RefinedSoundex
-
Encodes an Object using the refined soundex algorithm.
- encode(String) - Method in class org.apache.commons.codec.language.RefinedSoundex
-
Encodes a String using the refined soundex algorithm.
- encode(Object) - Method in class org.apache.commons.codec.language.Soundex
-
Encodes an Object using the soundex algorithm.
- encode(String) - Method in class org.apache.commons.codec.language.Soundex
-
Encodes a String using the soundex algorithm.
- encode(String, String) - Method in class org.apache.commons.codec.net.BCodec
-
Encodes a string into its Base64 form using the specified charset.
- encode(String) - Method in class org.apache.commons.codec.net.BCodec
-
Encodes a string into its Base64 form using the default charset.
- encode(Object) - Method in class org.apache.commons.codec.net.BCodec
-
Encodes an object into its Base64 form using the default charset.
- encode(String, String) - Method in class org.apache.commons.codec.net.QCodec
-
Encodes a string into its quoted-printable form using the specified charset.
- encode(String) - Method in class org.apache.commons.codec.net.QCodec
-
Encodes a string into its quoted-printable form using the default charset.
- encode(Object) - Method in class org.apache.commons.codec.net.QCodec
-
Encodes an object into its quoted-printable form using the default charset.
- encode(byte[]) - Method in class org.apache.commons.codec.net.QuotedPrintableCodec
-
Encodes an array of bytes into an array of quoted-printable 7-bit characters.
- encode(String) - Method in class org.apache.commons.codec.net.QuotedPrintableCodec
-
Encodes a string into its quoted-printable form using the default string charset.
- encode(Object) - Method in class org.apache.commons.codec.net.QuotedPrintableCodec
-
Encodes an object into its quoted-printable safe form.
- encode(String, String) - Method in class org.apache.commons.codec.net.QuotedPrintableCodec
-
Encodes a string into its quoted-printable form using the specified charset.
- encode(byte[]) - Method in class org.apache.commons.codec.net.URLCodec
-
Encodes an array of bytes into an array of URL safe 7-bit
characters.
- encode(String, String) - Method in class org.apache.commons.codec.net.URLCodec
-
Encodes a string into its URL safe form using the specified string charset.
- encode(String) - Method in class org.apache.commons.codec.net.URLCodec
-
Encodes a string into its URL safe form using the default string
charset.
- encode(Object) - Method in class org.apache.commons.codec.net.URLCodec
-
Encodes an object into its URL safe form.
- encode(String) - Method in interface org.apache.commons.codec.StringEncoder
-
Encodes a String and returns a String.
- encodeBase64(byte[]) - Static method in class org.apache.commons.codec.binary.Base64
-
Encodes binary data using the base64 algorithm but does not chunk the output.
- encodeBase64(byte[], boolean) - Static method in class org.apache.commons.codec.binary.Base64
-
Encodes binary data using the base64 algorithm, optionally chunking the output into 76 character blocks.
- encodeBase64(byte[], boolean, boolean) - Static method in class org.apache.commons.codec.binary.Base64
-
Encodes binary data using the base64 algorithm, optionally chunking the output into 76 character blocks.
- encodeBase64(byte[], boolean, boolean, int) - Static method in class org.apache.commons.codec.binary.Base64
-
Encodes binary data using the base64 algorithm, optionally chunking the output into 76 character blocks.
- encodeBase64Chunked(byte[]) - Static method in class org.apache.commons.codec.binary.Base64
-
Encodes binary data using the base64 algorithm and chunks the encoded output into 76 character blocks
- encodeBase64String(byte[]) - Static method in class org.apache.commons.codec.binary.Base64
-
Encodes binary data using the base64 algorithm into 76 character blocks separated by CRLF.
- encodeBase64URLSafe(byte[]) - Static method in class org.apache.commons.codec.binary.Base64
-
Encodes binary data using a URL-safe variation of the base64 algorithm but does not chunk the output.
- encodeBase64URLSafeString(byte[]) - Static method in class org.apache.commons.codec.binary.Base64
-
Encodes binary data using a URL-safe variation of the base64 algorithm but does not chunk the output.
- encodeBlanks - Variable in class org.apache.commons.codec.net.QCodec
-
- encodeHex(byte[]) - Static method in class org.apache.commons.codec.binary.Hex
-
Converts an array of bytes into an array of characters representing the hexadecimal values of each byte in order.
- encodeHex(byte[], boolean) - Static method in class org.apache.commons.codec.binary.Hex
-
Converts an array of bytes into an array of characters representing the hexadecimal values of each byte in order.
- encodeHex(byte[], char[]) - Static method in class org.apache.commons.codec.binary.Hex
-
Converts an array of bytes into an array of characters representing the hexadecimal values of each byte in order.
- encodeHexString(byte[]) - Static method in class org.apache.commons.codec.binary.Hex
-
Converts an array of bytes into a String representing the hexadecimal values of each byte in order.
- encodeInteger(BigInteger) - Static method in class org.apache.commons.codec.binary.Base64
-
Encodes to a byte64-encoded integer according to crypto standards such as W3C's XML-Signature
- encodeQuotedPrintable(int, ByteArrayOutputStream) - Static method in class org.apache.commons.codec.net.QuotedPrintableCodec
-
Encodes byte into its quoted-printable representation.
- encodeQuotedPrintable(BitSet, byte[]) - Static method in class org.apache.commons.codec.net.QuotedPrintableCodec
-
Encodes an array of bytes into an array of quoted-printable 7-bit characters.
- Encoder - Interface in org.apache.commons.codec
-
Provides the highest level of abstraction for Encoders.
- EncoderException - Exception in org.apache.commons.codec
-
Thrown when there is a failure condition during the encoding process.
- EncoderException() - Constructor for exception org.apache.commons.codec.EncoderException
-
Constructs a new exception with null
as its detail message.
- EncoderException(String) - Constructor for exception org.apache.commons.codec.EncoderException
-
Constructs a new exception with the specified detail message.
- EncoderException(String, Throwable) - Constructor for exception org.apache.commons.codec.EncoderException
-
Constructs a new exception with the specified detail message and cause.
- EncoderException(Throwable) - Constructor for exception org.apache.commons.codec.EncoderException
-
Constructs a new exception with the specified cause and a detail message of (cause==null ?
null : cause.toString())
(which typically contains the class and detail message of cause
).
- encodeSize - Variable in class org.apache.commons.codec.binary.Base64
-
Convenience variable to help us determine when our buffer is going to run out of room and needs resizing.
- encodeTable - Variable in class org.apache.commons.codec.binary.Base64
-
Encode table to use: either STANDARD or URL_SAFE.
- encodeText(String, String) - Method in class org.apache.commons.codec.net.RFC1522Codec
-
Applies an RFC 1522 compliant encoding scheme to the given string of text with the
given charset.
- encodeToString(byte[]) - Method in class org.apache.commons.codec.binary.Base64
-
Encodes a byte[] containing binary data, into a String containing characters in the Base64 alphabet.
- encodeUrl(BitSet, byte[]) - Static method in class org.apache.commons.codec.net.URLCodec
-
Encodes an array of bytes into an array of URL safe 7-bit characters.
- eof - Variable in class org.apache.commons.codec.binary.Base64
-
Boolean flag to indicate the EOF has been reached.
- ES_EP_EB_EL_EY_IB_IL_IN_IE_EI_ER - Static variable in class org.apache.commons.codec.language.DoubleMetaphone
-
- ESCAPE_CHAR - Static variable in class org.apache.commons.codec.net.QuotedPrintableCodec
-
- ESCAPE_CHAR - Static variable in class org.apache.commons.codec.net.URLCodec
-
Consider this field final.
- getAlternate() - Method in class org.apache.commons.codec.language.DoubleMetaphone.DoubleMetaphoneResult
-
- getBytesIso8859_1(String) - Static method in class org.apache.commons.codec.binary.StringUtils
-
Encodes the given string into a sequence of bytes using the ISO-8859-1 charset, storing the result into a new
byte array.
- getBytesUnchecked(String, String) - Static method in class org.apache.commons.codec.binary.StringUtils
-
Encodes the given string into a sequence of bytes using the named charset, storing the result into a new byte
array.
- getBytesUsAscii(String) - Static method in class org.apache.commons.codec.binary.StringUtils
-
Encodes the given string into a sequence of bytes using the US-ASCII charset, storing the result into a new byte
array.
- getBytesUtf16(String) - Static method in class org.apache.commons.codec.binary.StringUtils
-
Encodes the given string into a sequence of bytes using the UTF-16 charset, storing the result into a new byte
array.
- getBytesUtf16Be(String) - Static method in class org.apache.commons.codec.binary.StringUtils
-
Encodes the given string into a sequence of bytes using the UTF-16BE charset, storing the result into a new byte
array.
- getBytesUtf16Le(String) - Static method in class org.apache.commons.codec.binary.StringUtils
-
Encodes the given string into a sequence of bytes using the UTF-16LE charset, storing the result into a new byte
array.
- getBytesUtf8(String) - Static method in class org.apache.commons.codec.binary.StringUtils
-
Encodes the given string into a sequence of bytes using the UTF-8 charset, storing the result into a new byte
array.
- getBytesUtf8(String) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
- getCharsetName() - Method in class org.apache.commons.codec.binary.Hex
-
Gets the charset name.
- getDefaultCharset() - Method in class org.apache.commons.codec.net.BCodec
-
The default charset used for string decoding and encoding.
- getDefaultCharset() - Method in class org.apache.commons.codec.net.QCodec
-
The default charset used for string decoding and encoding.
- getDefaultCharset() - Method in class org.apache.commons.codec.net.QuotedPrintableCodec
-
Returns the default charset used for string decoding and encoding.
- getDefaultCharset() - Method in class org.apache.commons.codec.net.URLCodec
-
The default charset used for string decoding and encoding.
- getDigest(String) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Returns a MessageDigest
for the given algorithm
.
- getEncodeLength(byte[], int, byte[]) - Static method in class org.apache.commons.codec.binary.Base64
-
Pre-calculates the amount of space needed to base64-encode the supplied array.
- getEncoding() - Method in class org.apache.commons.codec.net.BCodec
-
- getEncoding() - Method in class org.apache.commons.codec.net.QCodec
-
- getEncoding() - Method in class org.apache.commons.codec.net.RFC1522Codec
-
Returns the codec name (referred to as encoding in the RFC 1522)
- getEncoding() - Method in class org.apache.commons.codec.net.URLCodec
-
Deprecated.
use #getDefaultCharset()
- getMappingCode(char) - Method in class org.apache.commons.codec.language.RefinedSoundex
-
Returns the mapping code for a given character.
- getMappingCode(String, int) - Method in class org.apache.commons.codec.language.Soundex
-
Used internally by the SoundEx algorithm.
- getMaxCodeLen() - Method in class org.apache.commons.codec.language.DoubleMetaphone
-
Returns the maxCodeLen.
- getMaxCodeLen() - Method in class org.apache.commons.codec.language.Metaphone
-
Returns the maxCodeLen.
- getMaxLength() - Method in class org.apache.commons.codec.language.Soundex
-
Deprecated.
This feature is not needed since the encoding size must be constant. Will be removed in 2.0.
- getMd5Digest() - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Returns an MD5 MessageDigest.
- getPrimary() - Method in class org.apache.commons.codec.language.DoubleMetaphone.DoubleMetaphoneResult
-
- getSha256Digest() - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Returns an SHA-256 digest.
- getSha384Digest() - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Returns an SHA-384 digest.
- getSha512Digest() - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Returns an SHA-512 digest.
- getShaDigest() - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Returns an SHA-1 digest.
- getSoundexMapping() - Method in class org.apache.commons.codec.language.Soundex
-
Returns the soundex mapping.
- map(char) - Method in class org.apache.commons.codec.language.Soundex
-
Maps the given upper-case character to its Soundex code.
- markSupported() - Method in class org.apache.commons.codec.binary.Base64InputStream
- MASK_6BITS - Static variable in class org.apache.commons.codec.binary.Base64
-
Mask used to extract 6 bits, used when encoding
- MASK_8BITS - Static variable in class org.apache.commons.codec.binary.Base64
-
Mask used to extract 8 bits, used in decoding base64 bytes
- maxCodeLen - Variable in class org.apache.commons.codec.language.DoubleMetaphone
-
Maximum length of an encoding, default is 4
- maxCodeLen - Variable in class org.apache.commons.codec.language.Metaphone
-
The max code length for metaphone is 4
- maxLength - Variable in class org.apache.commons.codec.language.DoubleMetaphone.DoubleMetaphoneResult
-
- maxLength - Variable in class org.apache.commons.codec.language.Soundex
-
Deprecated.
This feature is not needed since the encoding size must be constant. Will be removed in 2.0.
- md5(byte[]) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Calculates the MD5 digest and returns the value as a 16 element byte[]
.
- md5(InputStream) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Calculates the MD5 digest and returns the value as a 16 element byte[]
.
- md5(String) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Calculates the MD5 digest and returns the value as a 16 element byte[]
.
- md5Hex(byte[]) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Calculates the MD5 digest and returns the value as a 32 character hex string.
- md5Hex(InputStream) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Calculates the MD5 digest and returns the value as a 32 character hex string.
- md5Hex(String) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Calculates the MD5 digest and returns the value as a 32 character hex string.
- Metaphone - Class in org.apache.commons.codec.language
-
Encodes a string into a metaphone value.
- Metaphone() - Constructor for class org.apache.commons.codec.language.Metaphone
-
Creates an instance of the Metaphone encoder
- metaphone(String) - Method in class org.apache.commons.codec.language.Metaphone
-
Find the metaphone value of a String.
- modulus - Variable in class org.apache.commons.codec.binary.Base64
-
Writes to the buffer only occur after every 3 reads when encoding, an every 4 reads when decoding.
- SEP - Static variable in class org.apache.commons.codec.net.RFC1522Codec
-
Separator.
- serialVersionUID - Static variable in exception org.apache.commons.codec.DecoderException
-
Declares the Serial Version Uid.
- serialVersionUID - Static variable in exception org.apache.commons.codec.EncoderException
-
Declares the Serial Version Uid.
- setEncodeBlanks(boolean) - Method in class org.apache.commons.codec.net.QCodec
-
Defines whether optional tranformation of SPACE characters is to be used
- setInitialBuffer(byte[], int, int) - Method in class org.apache.commons.codec.binary.Base64
-
Sets the streaming buffer.
- setMaxCodeLen(int) - Method in class org.apache.commons.codec.language.DoubleMetaphone
-
Sets the maxCodeLen.
- setMaxCodeLen(int) - Method in class org.apache.commons.codec.language.Metaphone
-
Sets the maxCodeLen.
- setMaxLength(int) - Method in class org.apache.commons.codec.language.Soundex
-
Deprecated.
This feature is not needed since the encoding size must be constant. Will be removed in 2.0.
- sha(byte[]) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Calculates the SHA-1 digest and returns the value as a byte[]
.
- sha(InputStream) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Calculates the SHA-1 digest and returns the value as a byte[]
.
- sha(String) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Calculates the SHA-1 digest and returns the value as a byte[]
.
- sha256(byte[]) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Calculates the SHA-256 digest and returns the value as a byte[]
.
- sha256(InputStream) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Calculates the SHA-256 digest and returns the value as a byte[]
.
- sha256(String) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Calculates the SHA-256 digest and returns the value as a byte[]
.
- sha256Hex(byte[]) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Calculates the SHA-256 digest and returns the value as a hex string.
- sha256Hex(InputStream) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Calculates the SHA-256 digest and returns the value as a hex string.
- sha256Hex(String) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Calculates the SHA-256 digest and returns the value as a hex string.
- sha384(byte[]) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Calculates the SHA-384 digest and returns the value as a byte[]
.
- sha384(InputStream) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Calculates the SHA-384 digest and returns the value as a byte[]
.
- sha384(String) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Calculates the SHA-384 digest and returns the value as a byte[]
.
- sha384Hex(byte[]) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Calculates the SHA-384 digest and returns the value as a hex string.
- sha384Hex(InputStream) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Calculates the SHA-384 digest and returns the value as a hex string.
- sha384Hex(String) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Calculates the SHA-384 digest and returns the value as a hex string.
- sha512(byte[]) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Calculates the SHA-512 digest and returns the value as a byte[]
.
- sha512(InputStream) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Calculates the SHA-512 digest and returns the value as a byte[]
.
- sha512(String) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Calculates the SHA-512 digest and returns the value as a byte[]
.
- sha512Hex(byte[]) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Calculates the SHA-512 digest and returns the value as a hex string.
- sha512Hex(InputStream) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Calculates the SHA-512 digest and returns the value as a hex string.
- sha512Hex(String) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Calculates the SHA-512 digest and returns the value as a hex string.
- shaHex(byte[]) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Calculates the SHA-1 digest and returns the value as a hex string.
- shaHex(InputStream) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Calculates the SHA-1 digest and returns the value as a hex string.
- shaHex(String) - Static method in class org.apache.commons.codec.digest.DigestUtils
-
Calculates the SHA-1 digest and returns the value as a hex string.
- SILENT_START - Static variable in class org.apache.commons.codec.language.DoubleMetaphone
-
Prefixes when present which are not pronounced
- singleByte - Variable in class org.apache.commons.codec.binary.Base64InputStream
-
- singleByte - Variable in class org.apache.commons.codec.binary.Base64OutputStream
-
- soundex(String) - Method in class org.apache.commons.codec.language.RefinedSoundex
-
Retreives the Refined Soundex code for a given String object.
- Soundex - Class in org.apache.commons.codec.language
-
Encodes a string into a Soundex value.
- Soundex() - Constructor for class org.apache.commons.codec.language.Soundex
-
Creates an instance using US_ENGLISH_MAPPING
- Soundex(char[]) - Constructor for class org.apache.commons.codec.language.Soundex
-
Creates a soundex instance using the given mapping.
- Soundex(String) - Constructor for class org.apache.commons.codec.language.Soundex
-
Creates a refined soundex instance using a custom mapping.
- soundex(String) - Method in class org.apache.commons.codec.language.Soundex
-
Retrieves the Soundex code for a given String object.
- soundexMapping - Variable in class org.apache.commons.codec.language.RefinedSoundex
-
Every letter of the alphabet is "mapped" to a numerical value.
- soundexMapping - Variable in class org.apache.commons.codec.language.Soundex
-
Every letter of the alphabet is "mapped" to a numerical value.
- SoundexUtils - Class in org.apache.commons.codec.language
-
- SoundexUtils() - Constructor for class org.apache.commons.codec.language.SoundexUtils
-
- SPACE - Static variable in class org.apache.commons.codec.net.QuotedPrintableCodec
-
- STANDARD_ENCODE_TABLE - Static variable in class org.apache.commons.codec.binary.Base64
-
This array is a lookup table that translates 6-bit positive integer index values into their "Base64 Alphabet"
equivalents as specified in Table 1 of RFC 2045.
- STREAM_BUFFER_LENGTH - Static variable in class org.apache.commons.codec.digest.DigestUtils
-
- StringDecoder - Interface in org.apache.commons.codec
-
Decodes a String into a String.
- StringEncoder - Interface in org.apache.commons.codec
-
Encodes a String into a String.
- stringEncoder - Variable in class org.apache.commons.codec.StringEncoderComparator
-
Internal encoder instance.
- StringEncoderComparator - Class in org.apache.commons.codec
-
Strings are comparable, and this comparator allows
you to configure it with an instance of a class
which implements StringEncoder.
- StringEncoderComparator() - Constructor for class org.apache.commons.codec.StringEncoderComparator
-
Deprecated.
as creating without a StringEncoder will lead to a
broken NullPointerException creating comparator.
- StringEncoderComparator(StringEncoder) - Constructor for class org.apache.commons.codec.StringEncoderComparator
-
Constructs a new instance with the given algorithm.
- StringUtils - Class in org.apache.commons.codec.binary
-
Converts String to and from bytes using the encodings required by the Java specification.
- StringUtils() - Constructor for class org.apache.commons.codec.binary.StringUtils
-
- UNDERSCORE - Static variable in class org.apache.commons.codec.net.QCodec
-
- URL_SAFE_ENCODE_TABLE - Static variable in class org.apache.commons.codec.binary.Base64
-
This is a copy of the STANDARD_ENCODE_TABLE above, but with + and /
changed to - and _ to make the encoded Base64 results more URL-SAFE.
- URLCodec - Class in org.apache.commons.codec.net
-
Implements the 'www-form-urlencoded' encoding scheme,
also misleadingly known as URL encoding.
- URLCodec() - Constructor for class org.apache.commons.codec.net.URLCodec
-
Default constructor.
- URLCodec(String) - Constructor for class org.apache.commons.codec.net.URLCodec
-
Constructor which allows for the selection of a default charset
- US_ASCII - Static variable in class org.apache.commons.codec.CharEncoding
-
Seven-bit ASCII, also known as ISO646-US, also known as the Basic Latin block of the Unicode character set.
- US_ENGLISH - Static variable in class org.apache.commons.codec.language.RefinedSoundex
-
This static variable contains an instance of the RefinedSoundex using
the US_ENGLISH mapping.
- US_ENGLISH - Static variable in class org.apache.commons.codec.language.Soundex
-
An instance of Soundex using the US_ENGLISH_MAPPING mapping.
- US_ENGLISH_MAPPING - Static variable in class org.apache.commons.codec.language.RefinedSoundex
-
RefinedSoundex is *refined* for a number of reasons one being that the
mappings have been altered.
- US_ENGLISH_MAPPING - Static variable in class org.apache.commons.codec.language.Soundex
-
This is a default mapping of the 26 letters used in US English.
- US_ENGLISH_MAPPING_STRING - Static variable in class org.apache.commons.codec.language.RefinedSoundex
-
- US_ENGLISH_MAPPING_STRING - Static variable in class org.apache.commons.codec.language.Soundex
-
This is a default mapping of the 26 letters used in US English.
- UTF_16 - Static variable in class org.apache.commons.codec.CharEncoding
-
Sixteen-bit Unicode Transformation Format, The byte order specified by a mandatory initial byte-order mark
(either order accepted on input, big-endian used on output)
- UTF_16BE - Static variable in class org.apache.commons.codec.CharEncoding
-
Sixteen-bit Unicode Transformation Format, big-endian byte order.
- UTF_16LE - Static variable in class org.apache.commons.codec.CharEncoding
-
Sixteen-bit Unicode Transformation Format, little-endian byte order.
- UTF_8 - Static variable in class org.apache.commons.codec.CharEncoding
-
Eight-bit Unicode Transformation Format.
- Utils - Class in org.apache.commons.codec.net
-
Utility methods for this package.
- Utils() - Constructor for class org.apache.commons.codec.net.Utils
-