public class UnicodeEncoding extends Encoding
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Text.UnicodeEncoding
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.Text.UnicodeEncoding
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
UnicodeEncoding() |
UnicodeEncoding(boolean bigEndian,
boolean byteOrderMark) |
UnicodeEncoding(boolean bigEndian,
boolean byteOrderMark,
boolean throwOnInvalidBytes) |
UnicodeEncoding(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static UnicodeEncoding |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into UnicodeEncoding, a cast assert is made to check if types are compatible. |
int |
GetByteCount(char[] chars,
int index,
int count) |
int |
GetByteCount(JCORefOut dupParam0,
int dupParam1,
int dupParam2) |
int |
GetByteCount(java.lang.String s) |
int |
GetBytes(char[] chars,
int charIndex,
int charCount,
byte[] bytes,
int byteIndex) |
int |
GetBytes(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
JCORefOut dupParam3,
int dupParam4) |
int |
GetBytes(java.lang.String s,
int charIndex,
int charCount,
byte[] bytes,
int byteIndex) |
int |
GetBytes(java.lang.String dupParam0,
int dupParam1,
int dupParam2,
JCORefOut dupParam3,
int dupParam4) |
int |
GetCharCount(byte[] bytes,
int index,
int count) |
int |
GetCharCount(JCORefOut dupParam0,
int dupParam1,
int dupParam2) |
int |
GetChars(byte[] bytes,
int byteIndex,
int byteCount,
char[] chars,
int charIndex) |
int |
GetChars(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
JCORefOut dupParam3,
int dupParam4) |
Decoder |
GetDecoder() |
Encoder |
GetEncoder() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
int |
GetMaxByteCount(int charCount) |
int |
GetMaxCharCount(int byteCount) |
byte[] |
GetPreamble() |
java.lang.String |
GetString(byte[] bytes,
int index,
int count) |
java.lang.String |
GetString(JCORefOut dupParam0,
int dupParam1,
int dupParam2) |
void |
setJCOInstance(JCObject instance) |
Clone, Convert, Convert, Convert, Convert, CreateTranscodingStream, getASCII, getBigEndianUnicode, getBodyName, GetByteCount, GetByteCount, GetByteCount, GetBytes, GetBytes, GetBytes, GetBytes, GetBytes, GetBytes, GetCharCount, GetCharCount, GetChars, GetChars, GetChars, GetChars, getCodePage, getDecoderFallback, getDefault, getEncoderFallback, GetEncoding, GetEncoding, GetEncoding, GetEncoding, getEncodingName, GetEncodings, getHeaderName, getIsBrowserDisplay, getIsBrowserSave, getIsMailNewsDisplay, getIsMailNewsSave, getIsReadOnly, getIsSingleByte, getLatin1, GetString, GetString, getUnicode, getUTF32, getUTF7, getUTF8, getWebName, getWindowsCodePage, IsAlwaysNormalized, IsAlwaysNormalized, RegisterProvider, setDecoderFallback, setEncoderFallback, setIsReadOnlypublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public UnicodeEncoding()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException
public UnicodeEncoding(boolean bigEndian,
boolean byteOrderMark)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
FormatException
public UnicodeEncoding(boolean bigEndian,
boolean byteOrderMark,
boolean throwOnInvalidBytes)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException
public UnicodeEncoding(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static UnicodeEncoding cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into UnicodeEncoding, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedUnicodeEncoding instancejava.lang.Throwable - in case of error during cast operationpublic int GetByteCount(char[] chars,
int index,
int count)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
NullReferenceException,
IndexOutOfRangeException,
FormatException
GetByteCount in class Encodingjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionNullReferenceExceptionIndexOutOfRangeExceptionFormatExceptionpublic int GetByteCount(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException, IndexOutOfRangeException, FormatException
GetByteCount in class Encodingjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionNullReferenceExceptionIndexOutOfRangeExceptionFormatExceptionpublic int GetByteCount(java.lang.String s)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ArgumentNullException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
NullReferenceException
GetByteCount in class Encodingjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionNullReferenceExceptionpublic int GetBytes(char[] chars,
int charIndex,
int charCount,
byte[] bytes,
int byteIndex)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException
GetBytes in class Encodingjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionpublic int GetBytes(JCORefOut dupParam0, int dupParam1, int dupParam2, JCORefOut dupParam3, int dupParam4) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException
GetBytes in class Encodingjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionpublic int GetBytes(java.lang.String s,
int charIndex,
int charCount,
byte[] bytes,
int byteIndex)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException
GetBytes in class Encodingjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionpublic int GetBytes(java.lang.String dupParam0,
int dupParam1,
int dupParam2,
JCORefOut dupParam3,
int dupParam4)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException
GetBytes in class Encodingjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionpublic int GetCharCount(byte[] bytes,
int index,
int count)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException
GetCharCount in class Encodingjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionpublic int GetCharCount(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException
GetCharCount in class Encodingjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionpublic int GetChars(byte[] bytes,
int byteIndex,
int byteCount,
char[] chars,
int charIndex)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException
GetChars in class Encodingjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionpublic int GetChars(JCORefOut dupParam0, int dupParam1, int dupParam2, JCORefOut dupParam3, int dupParam4) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException
GetChars in class Encodingjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionpublic Decoder GetDecoder() throws java.lang.Throwable
GetDecoder in class Encodingjava.lang.Throwablepublic Encoder GetEncoder() throws java.lang.Throwable
GetEncoder in class Encodingjava.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class EncodingString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class EncodingString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class EncodingObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class EncodingString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class EncodingJCType representing the CLR Type of the instantiated Classpublic int GetMaxByteCount(int charCount)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
GetMaxByteCount in class Encodingjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionpublic int GetMaxCharCount(int byteCount)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
GetMaxCharCount in class Encodingjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionpublic byte[] GetPreamble()
throws java.lang.Throwable
GetPreamble in class Encodingjava.lang.Throwablepublic java.lang.String GetString(byte[] bytes,
int index,
int count)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException
GetString in class Encodingjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionpublic java.lang.String GetString(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
GetString in class Encodingjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class Encoding