Method Summary | ||
---|---|---|
method | equals(other) | |
Determines whether the specified Encoding object is equal to the current instance.
|
||
method | equals(o) | |
Determines whether the specified Object is equal to the current instance.
|
||
static method | getASCII() | |
Gets an encoding for the ASCII (7-bit) character set.
|
||
static method | getBigEndianUnicode() | |
Gets an encoding for the UTF-16 format using the big endian byte order.
|
||
static method | getDefault() | |
Gets an encoding for the operating system's current ANSI code page.
|
||
static method | getEncoding(codePage) | |
Returns the encoding associated with the specified code page identifier.
|
||
static method | getEncoding(charsetName) | |
Returns an encoding associated with the specified charset name.
|
||
static method | getEncoding(charset) | |
Returns an encoding associated with the specified charset object.
|
||
static method | getUnicode() | |
Gets an encoding for the UTF-16 format using the little endian byte order.
|
||
static method | getUTF7() | |
Gets an encoding for the UTF-7 format.
|
||
static method | getUTF8() | |
Gets an encoding for the UTF-8 format.
|
||
static method | getUTF8NoBOM() | |
Gets an encoding for the UTF-8 format without the UTF-8 identifier.
|
static Encoding getASCII()
static Encoding getUTF7()
static Encoding getUTF8()
static Encoding getUTF8NoBOM()
static Encoding getUnicode()
static Encoding getBigEndianUnicode()
static Encoding getDefault()
static Encoding getEncoding(codePage)
codePage: int
- The code page identifier of the preferred encoding. -or- 0, to use the default encoding.static Encoding getEncoding(charsetName)
charsetName: String
- specified charset namestatic Encoding getEncoding(charset)
charset: Charset
- specified charset objectboolean equals(o)
o: Object
- The Object to compare with the current instance.boolean equals(other)
other: Encoding
- The Encoding object to compare with the current instance.