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