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. |
Method Detail |
---|
getASCII | |
static Encoding getASCII() |
getUTF7 | |
static Encoding getUTF7() |
getUTF8 | |
static Encoding getUTF8() |
getUTF8NoBOM | |
static Encoding getUTF8NoBOM() |
getUnicode | |
static Encoding getUnicode() |
getBigEndianUnicode | |
static Encoding getBigEndianUnicode() |
getDefault | |
static Encoding getDefault() |
getEncoding | |
static Encoding getEncoding(codePage) |
codePage: int
- The code page identifier of the preferred encoding. -or- 0, to use the default encoding.getEncoding | |
static Encoding getEncoding(charsetName) |
charsetName: String
- specified charset namegetEncoding | |
static Encoding getEncoding(charset) |
charset: Charset
- specified charset objectequals | |
boolean equals(o) |
o: Object
- The Object to compare with the current instance.equals | |
boolean equals(other) |
other: Encoding
- The Encoding object to compare with the current instance.