public class Encoding
extends java.lang.Object
| Constructor and Description |
|---|
Encoding() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Encoding other)
Determines whether the specified Encoding object is equal to the current instance.
|
boolean |
equals(java.lang.Object o)
Determines whether the specified Object is equal to the current instance.
|
static Encoding |
getASCII()
Gets an encoding for the ASCII (7-bit) character set.
|
static Encoding |
getBigEndianUnicode()
Gets an encoding for the UTF-16 format using the big endian byte order.
|
static Encoding |
getDefault()
Gets an encoding for the operating system's current ANSI code page.
|
static Encoding |
getEncoding(java.nio.charset.Charset charset)
Returns an encoding associated with the specified charset object.
|
static Encoding |
getEncoding(int codePage)
Returns the encoding associated with the specified code page identifier.
|
static Encoding |
getEncoding(java.lang.String charsetName)
Returns an encoding associated with the specified charset name.
|
static Encoding |
getUnicode()
Gets an encoding for the UTF-16 format using the little endian byte order.
|
static Encoding |
getUTF7()
Gets an encoding for the UTF-7 format.
|
static Encoding |
getUTF8()
Gets an encoding for the UTF-8 format.
|
static Encoding |
getUTF8NoBOM()
Gets an encoding for the UTF-8 format without the UTF-8 identifier.
|
public static Encoding getASCII()
public static Encoding getUTF7()
public static Encoding getUTF8()
public static Encoding getUTF8NoBOM()
public static Encoding getUnicode()
public static Encoding getBigEndianUnicode()
public static Encoding getDefault()
public static Encoding getEncoding(int codePage)
codePage - The code page identifier of the preferred encoding. -or- 0, to use the default encoding.public static Encoding getEncoding(java.lang.String charsetName)
charsetName - specified charset namepublic static Encoding getEncoding(java.nio.charset.Charset charset)
charset - specified charset objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - The Object to compare with the current instance.public boolean equals(Encoding other)
other - The Encoding object to compare with the current instance.See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.