TextEncodingInternal
Inheritance: java.lang.Object, com.aspose.pdf.TextEncodingInternal
public final class TextEncodingInternal extends Object
Constructors
| Constructor | Description |
|---|---|
| TextEncodingInternal | Internal constructor |
Methods
| Method | Description |
|---|---|
| getASCII | Gets an encoding for the ASCII (7-bit) character set. |
| getBigEndianUnicode | Gets an encoding for the UTF-16 format that uses the big endian byte order. |
| getDefault | Gets an encoding for the operating system’s current ANSI code page. |
| getEncoding | Returns the encoding associated with the specified code page name. |
| getInternalFormat | Internal method |
| getNames | Gets an array with encoding names. |
| getString | When overridden in a derived class, decodes all the bytes in the specified byte array into a string. |
| getUnicode | Gets an encoding for the UTF-16 format using the little endian byte order. |
| getUTF32 | Gets an encoding for the UTF-32 format using the little endian byte order. |
| getUTF32BE | Gets an encoding for the UTF-16 format that uses the big endian byte order. |
| getUTF7 | Gets an encoding for the UTF-7 format. |
| getUTF8 | Gets an encoding for the UTF-8 format. |
| getUTF8Unmarked | Gets an encoding for the UTF-8 Unmarked format. |
| toString | Returns a string that represents the current object. |
TextEncodingInternal
Internal constructor
getASCII
public static TextEncodingInternal getASCII()
Gets an encoding for the ASCII (7-bit) character set.
Returns: TextEncodingInternal instance
getBigEndianUnicode
public static TextEncodingInternal getBigEndianUnicode()
Gets an encoding for the UTF-16 format that uses the big endian byte order.
Returns: TextEncodingInternal instance
getDefault
public static TextEncodingInternal getDefault()
Gets an encoding for the operating system’s current ANSI code page.
Returns: TextEncodingInternal instance
getEncoding
Returns the encoding associated with the specified code page name.
getInternalFormat
public com.aspose.ms.System.Text.Encoding getInternalFormat()
Internal method
Returns: Internal object
getNames
public static String [] getNames()
Gets an array with encoding names.
Returns: String array
getString
public String getString(byte[] value)
When overridden in a derived class, decodes all the bytes in the specified byte array into a string.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | The byte array containing the sequence of bytes to decode. |
Returns: A string that contains the results of decoding the specified sequence of bytes.
getUnicode
public static TextEncodingInternal getUnicode()
Gets an encoding for the UTF-16 format using the little endian byte order.
Returns: TextEncodingInternal instance
getUTF32
public static TextEncodingInternal getUTF32()
Gets an encoding for the UTF-32 format using the little endian byte order.
Returns: TextEncodingInternal instance
getUTF32BE
public static TextEncodingInternal getUTF32BE()
Gets an encoding for the UTF-16 format that uses the big endian byte order.
Returns: TextEncodingInternal instance
getUTF7
public static TextEncodingInternal getUTF7()
Gets an encoding for the UTF-7 format.
Returns: TextEncodingInternal instance
getUTF8
public static TextEncodingInternal getUTF8()
Gets an encoding for the UTF-8 format.
Returns: TextEncodingInternal instance
getUTF8Unmarked
public static TextEncodingInternal getUTF8Unmarked()
Gets an encoding for the UTF-8 Unmarked format.
Returns: TextEncodingInternal instance
toString
Returns a string that represents the current object.