TextEncodingInternal

Inheritance: java.lang.Object, com.aspose.pdf.TextEncodingInternal

public final class TextEncodingInternal extends Object

Constructors

ConstructorDescription
TextEncodingInternalInternal constructor

Methods

MethodDescription
getASCIIGets an encoding for the ASCII (7-bit) character set.
getBigEndianUnicodeGets an encoding for the UTF-16 format that uses the big endian byte order.
getDefaultGets an encoding for the operating system’s current ANSI code page.
getEncodingReturns the encoding associated with the specified code page name.
getInternalFormatInternal method
getNamesGets an array with encoding names.
getStringWhen overridden in a derived class, decodes all the bytes in the specified byte array into a string.
getUnicodeGets an encoding for the UTF-16 format using the little endian byte order.
getUTF32Gets an encoding for the UTF-32 format using the little endian byte order.
getUTF32BEGets an encoding for the UTF-16 format that uses the big endian byte order.
getUTF7Gets an encoding for the UTF-7 format.
getUTF8Gets an encoding for the UTF-8 format.
getUTF8UnmarkedGets an encoding for the UTF-8 Unmarked format.
toStringReturns 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:

ParameterTypeDescription
valueThe 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.