public final class TextEncodingInternal extends Object
Constructor and Description |
---|
TextEncodingInternal(com.aspose.ms.System.Text.Encoding value)
Internal constructor
|
Modifier and Type | Method and Description |
---|---|
static TextEncodingInternal |
getASCII()
Gets an encoding for the ASCII (7-bit) character set.
|
static TextEncodingInternal |
getBigEndianUnicode()
Gets an encoding for the UTF-16 format that uses the big endian byte order.
|
static TextEncodingInternal |
getDefault()
Gets an encoding for the operating system's current ANSI code page.
|
static TextEncodingInternal |
getEncoding(String name)
Returns the encoding associated with the specified code page name.
|
com.aspose.ms.System.Text.Encoding |
getInternalFormat()
Internal method
|
static String[] |
getNames()
Gets an array with encoding names.
|
String |
getString(byte[] value)
When overridden in a derived class, decodes all the bytes in the specified byte array into a string.
|
static TextEncodingInternal |
getUnicode()
Gets an encoding for the UTF-16 format using the little endian byte order.
|
static TextEncodingInternal |
getUTF32()
Gets an encoding for the UTF-32 format using the little endian byte order.
|
static TextEncodingInternal |
getUTF32BE()
Gets an encoding for the UTF-16 format that uses the big endian byte order.
|
static TextEncodingInternal |
getUTF7()
Gets an encoding for the UTF-7 format.
|
static TextEncodingInternal |
getUTF8()
Gets an encoding for the UTF-8 format.
|
static TextEncodingInternal |
getUTF8Unmarked()
Gets an encoding for the UTF-8 Unmarked format.
|
static String |
toString(TextEncodingInternal encoding)
Returns a string that represents the current object.
|
public TextEncodingInternal(com.aspose.ms.System.Text.Encoding value)
value
- Internal objectpublic static TextEncodingInternal getASCII()
public static TextEncodingInternal getBigEndianUnicode()
public static TextEncodingInternal getDefault()
public static TextEncodingInternal getUnicode()
public static TextEncodingInternal getUTF32()
public static TextEncodingInternal getUTF32BE()
public static TextEncodingInternal getUTF7()
public static TextEncodingInternal getUTF8()
public static TextEncodingInternal getUTF8Unmarked()
public com.aspose.ms.System.Text.Encoding getInternalFormat()
public static TextEncodingInternal getEncoding(String name)
name
- The code page name of the preferred encoding. Any value returned by the WebName property is valid. Possible values are listed in the Name column of the table that appears in the Encoding class topic.public static String toString(TextEncodingInternal encoding)
encoding
- TextEncodingInternal instancepublic static String[] getNames()
public String getString(byte[] value)
value
- The byte array containing the sequence of bytes to decode.