Java org.apache.commons.codec Charsets fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.codec Charsets fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.codec Charsets.

The text is from its open source code.

Field

CharsetISO_8859_1
CharEncodingISO Latin Alphabet No.
CharsetUS_ASCII
Seven-bit ASCII, also known as ISO646-US, also known as the Basic Latin block of the Unicode character set.
CharsetUTF_16
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)

Every implementation of the Java platform is required to support this character encoding.

CharsetUTF_16BE
Sixteen-bit Unicode Transformation Format, big-endian byte order.
CharsetUTF_16LE
Sixteen-bit Unicode Transformation Format, little-endian byte order.
CharsetUTF_8
Eight-bit Unicode Transformation Format.

Method

CharsettoCharset(final Charset charset)
Returns the given Charset or the default Charset if the given Charset is null.
CharsettoCharset(final String charset)
Returns a Charset for the named charset.