public class Encoding extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Text.Encoding
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.Encoding
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Encoding() |
Encoding(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Encoding |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Encoding, a cast assert is made to check if types are compatible. |
NetObject |
Clone()
Invokes the .NET member Clone.
|
static byte[] |
Convert(Encoding srcEncoding,
Encoding dstEncoding,
byte[] bytes)
Invokes the .NET member Convert.
|
static byte[] |
Convert(Encoding srcEncoding,
Encoding dstEncoding,
byte[] bytes,
int index,
int count)
Invokes the .NET member Convert.
|
static byte[] |
Convert(Encoding dupParam0,
Encoding dupParam1,
JCORefOut dupParam2)
Invokes the .NET member Convert.
|
static byte[] |
Convert(Encoding dupParam0,
Encoding dupParam1,
JCORefOut dupParam2,
int dupParam3,
int dupParam4)
Invokes the .NET member Convert.
|
static Stream |
CreateTranscodingStream(Stream innerStream,
Encoding innerStreamEncoding,
Encoding outerStreamEncoding,
boolean leaveOpen)
Invokes the .NET member CreateTranscodingStream.
|
static Encoding |
getASCII()
Gets the value of the .NET property ASCII.
|
static Encoding |
getBigEndianUnicode()
Gets the value of the .NET property BigEndianUnicode.
|
java.lang.String |
getBodyName()
Gets the value of the .NET property BodyName.
|
int |
GetByteCount(char[] chars)
Invokes the .NET member GetByteCount.
|
int |
GetByteCount(char[] chars,
int index,
int count)
Invokes the .NET member GetByteCount.
|
int |
GetByteCount(JCORefOut dupParam0)
Invokes the .NET member GetByteCount.
|
int |
GetByteCount(JCORefOut dupParam0,
int dupParam1,
int dupParam2)
Invokes the .NET member GetByteCount.
|
int |
GetByteCount(java.lang.String s)
Invokes the .NET member GetByteCount.
|
int |
GetByteCount(java.lang.String s,
int index,
int count)
Invokes the .NET member GetByteCount.
|
byte[] |
GetBytes(char[] chars)
Invokes the .NET member GetBytes.
|
byte[] |
GetBytes(char[] chars,
int index,
int count)
Invokes the .NET member GetBytes.
|
int |
GetBytes(char[] chars,
int charIndex,
int charCount,
byte[] bytes,
int byteIndex)
Invokes the .NET member GetBytes.
|
byte[] |
GetBytes(JCORefOut dupParam0)
Invokes the .NET member GetBytes.
|
byte[] |
GetBytes(JCORefOut dupParam0,
int dupParam1,
int dupParam2)
Invokes the .NET member GetBytes.
|
int |
GetBytes(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
JCORefOut dupParam3,
int dupParam4)
Invokes the .NET member GetBytes.
|
byte[] |
GetBytes(java.lang.String s)
Invokes the .NET member GetBytes.
|
byte[] |
GetBytes(java.lang.String s,
int index,
int count)
Invokes the .NET member GetBytes.
|
int |
GetBytes(java.lang.String s,
int charIndex,
int charCount,
byte[] bytes,
int byteIndex)
Invokes the .NET member GetBytes.
|
int |
GetBytes(java.lang.String dupParam0,
int dupParam1,
int dupParam2,
JCORefOut dupParam3,
int dupParam4)
Invokes the .NET member GetBytes.
|
int |
GetCharCount(byte[] bytes)
Invokes the .NET member GetCharCount.
|
int |
GetCharCount(byte[] bytes,
int index,
int count)
Invokes the .NET member GetCharCount.
|
int |
GetCharCount(JCORefOut dupParam0)
Invokes the .NET member GetCharCount.
|
int |
GetCharCount(JCORefOut dupParam0,
int dupParam1,
int dupParam2)
Invokes the .NET member GetCharCount.
|
char[] |
GetChars(byte[] bytes)
Invokes the .NET member GetChars.
|
char[] |
GetChars(byte[] bytes,
int index,
int count)
Invokes the .NET member GetChars.
|
int |
GetChars(byte[] bytes,
int byteIndex,
int byteCount,
char[] chars,
int charIndex)
Invokes the .NET member GetChars.
|
char[] |
GetChars(JCORefOut dupParam0)
Invokes the .NET member GetChars.
|
char[] |
GetChars(JCORefOut dupParam0,
int dupParam1,
int dupParam2)
Invokes the .NET member GetChars.
|
int |
GetChars(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
JCORefOut dupParam3,
int dupParam4)
Invokes the .NET member GetChars.
|
int |
getCodePage()
Gets the value of the .NET property CodePage.
|
Decoder |
GetDecoder()
Invokes the .NET member GetDecoder.
|
DecoderFallback |
getDecoderFallback()
Gets the value of the .NET property DecoderFallback.
|
static Encoding |
getDefault()
Gets the value of the .NET property Default.
|
Encoder |
GetEncoder()
Invokes the .NET member GetEncoder.
|
EncoderFallback |
getEncoderFallback()
Gets the value of the .NET property EncoderFallback.
|
static Encoding |
GetEncoding(int codepage)
Invokes the .NET member GetEncoding.
|
static Encoding |
GetEncoding(int codepage,
EncoderFallback encoderFallback,
DecoderFallback decoderFallback)
Invokes the .NET member GetEncoding.
|
static Encoding |
GetEncoding(java.lang.String name)
Invokes the .NET member GetEncoding.
|
static Encoding |
GetEncoding(java.lang.String name,
EncoderFallback encoderFallback,
DecoderFallback decoderFallback)
Invokes the .NET member GetEncoding.
|
java.lang.String |
getEncodingName()
Gets the value of the .NET property EncodingName.
|
static EncodingInfo[] |
GetEncodings()
Invokes the .NET member GetEncodings.
|
java.lang.String |
getHeaderName()
Gets the value of the .NET property HeaderName.
|
boolean |
getIsBrowserDisplay()
Gets the value of the .NET property IsBrowserDisplay.
|
boolean |
getIsBrowserSave()
Gets the value of the .NET property IsBrowserSave.
|
boolean |
getIsMailNewsDisplay()
Gets the value of the .NET property IsMailNewsDisplay.
|
boolean |
getIsMailNewsSave()
Gets the value of the .NET property IsMailNewsSave.
|
boolean |
getIsReadOnly()
Gets the value of the .NET property IsReadOnly.
|
boolean |
getIsSingleByte()
Gets the value of the .NET property IsSingleByte.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
static Encoding |
getLatin1()
Gets the value of the .NET property Latin1.
|
int |
GetMaxByteCount(int charCount)
Invokes the .NET member GetMaxByteCount.
|
int |
GetMaxCharCount(int byteCount)
Invokes the .NET member GetMaxCharCount.
|
byte[] |
GetPreamble()
Invokes the .NET member GetPreamble.
|
java.lang.String |
GetString(byte[] bytes)
Invokes the .NET member GetString.
|
java.lang.String |
GetString(byte[] bytes,
int index,
int count)
Invokes the .NET member GetString.
|
java.lang.String |
GetString(JCORefOut dupParam0)
Invokes the .NET member GetString.
|
java.lang.String |
GetString(JCORefOut dupParam0,
int dupParam1,
int dupParam2)
Invokes the .NET member GetString.
|
static Encoding |
getUnicode()
Gets the value of the .NET property Unicode.
|
static Encoding |
getUTF32()
Gets the value of the .NET property UTF32.
|
static Encoding |
getUTF7()
Gets the value of the .NET property UTF7.
|
static Encoding |
getUTF8()
Gets the value of the .NET property UTF8.
|
java.lang.String |
getWebName()
Gets the value of the .NET property WebName.
|
int |
getWindowsCodePage()
Gets the value of the .NET property WindowsCodePage.
|
boolean |
IsAlwaysNormalized()
Invokes the .NET member IsAlwaysNormalized.
|
boolean |
IsAlwaysNormalized(NormalizationForm form)
Invokes the .NET member IsAlwaysNormalized.
|
static void |
RegisterProvider(EncodingProvider provider)
Invokes the .NET member RegisterProvider.
|
void |
setDecoderFallback(DecoderFallback DecoderFallback)
Sets the value of the .NET property DecoderFallback.
|
void |
setEncoderFallback(EncoderFallback EncoderFallback)
Sets the value of the .NET property EncoderFallback.
|
void |
setIsReadOnly(boolean IsReadOnly)
Sets the value of the .NET property IsReadOnly.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Encoding()
throws java.lang.Throwable
java.lang.Throwablepublic Encoding(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static Encoding cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Encoding, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedEncoding instancejava.lang.Throwable - in case of error during cast operationpublic NetObject Clone() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static byte[] Convert(Encoding srcEncoding, Encoding dstEncoding, byte[] bytes) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
srcEncoding - the argument of type EncodingdstEncoding - the argument of type Encodingbytes - the argument of type byte[]java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic static byte[] Convert(Encoding srcEncoding, Encoding dstEncoding, byte[] bytes, int index, int count) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
srcEncoding - the argument of type EncodingdstEncoding - the argument of type Encodingbytes - the argument of type byte[]index - the argument of type intcount - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic static byte[] Convert(Encoding dupParam0, Encoding dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
dupParam0 - the argument of type EncodingdupParam1 - the argument of type EncodingdupParam2 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic static byte[] Convert(Encoding dupParam0, Encoding dupParam1, JCORefOut dupParam2, int dupParam3, int dupParam4) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
dupParam0 - the argument of type EncodingdupParam1 - the argument of type EncodingdupParam2 - the argument of type JCORefOutdupParam3 - the argument of type intdupParam4 - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic static Stream CreateTranscodingStream(Stream innerStream, Encoding innerStreamEncoding, Encoding outerStreamEncoding, boolean leaveOpen) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
innerStream - the argument of type StreaminnerStreamEncoding - the argument of type EncodingouterStreamEncoding - the argument of type EncodingleaveOpen - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic static Encoding getASCII() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Encoding getBigEndianUnicode() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getBodyName()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
NullReferenceException,
IndexOutOfRangeException,
ArgumentOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic int GetByteCount(char[] chars)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException
chars - the argument of type char[]java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic int GetByteCount(char[] chars,
int index,
int count)
throws java.lang.Throwable
chars - the argument of type char[]index - the argument of type intcount - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic int GetByteCount(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
dupParam0 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic int GetByteCount(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic int GetByteCount(java.lang.String s)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ArgumentNullException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
s - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic int GetByteCount(java.lang.String s,
int index,
int count)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
FormatException
s - the argument of type java.lang.Stringindex - the argument of type intcount - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic byte[] GetBytes(char[] chars)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException
chars - the argument of type char[]java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic byte[] GetBytes(char[] chars,
int index,
int count)
throws java.lang.Throwable
chars - the argument of type char[]index - the argument of type intcount - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic int GetBytes(char[] chars,
int charIndex,
int charCount,
byte[] bytes,
int byteIndex)
throws java.lang.Throwable
chars - the argument of type char[]charIndex - the argument of type intcharCount - the argument of type intbytes - the argument of type byte[]byteIndex - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic byte[] GetBytes(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
dupParam0 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic byte[] GetBytes(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic int GetBytes(JCORefOut dupParam0, int dupParam1, int dupParam2, JCORefOut dupParam3, int dupParam4) throws java.lang.Throwable
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intdupParam3 - the argument of type JCORefOutdupParam4 - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic byte[] GetBytes(java.lang.String s)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException
s - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic byte[] GetBytes(java.lang.String s,
int index,
int count)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
FormatException
s - the argument of type java.lang.Stringindex - the argument of type intcount - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic int GetBytes(java.lang.String s,
int charIndex,
int charCount,
byte[] bytes,
int byteIndex)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ArgumentNullException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
s - the argument of type java.lang.StringcharIndex - the argument of type intcharCount - the argument of type intbytes - the argument of type byte[]byteIndex - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic int GetBytes(java.lang.String dupParam0,
int dupParam1,
int dupParam2,
JCORefOut dupParam3,
int dupParam4)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ArgumentNullException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
dupParam0 - the argument of type java.lang.StringdupParam1 - the argument of type intdupParam2 - the argument of type intdupParam3 - the argument of type JCORefOutdupParam4 - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic int GetCharCount(byte[] bytes)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException
bytes - the argument of type byte[]java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic int GetCharCount(byte[] bytes,
int index,
int count)
throws java.lang.Throwable
bytes - the argument of type byte[]index - the argument of type intcount - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic int GetCharCount(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
dupParam0 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic int GetCharCount(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic char[] GetChars(byte[] bytes)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException
bytes - the argument of type byte[]java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic char[] GetChars(byte[] bytes,
int index,
int count)
throws java.lang.Throwable
bytes - the argument of type byte[]index - the argument of type intcount - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic int GetChars(byte[] bytes,
int byteIndex,
int byteCount,
char[] chars,
int charIndex)
throws java.lang.Throwable
bytes - the argument of type byte[]byteIndex - the argument of type intbyteCount - the argument of type intchars - the argument of type char[]charIndex - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic char[] GetChars(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
dupParam0 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic char[] GetChars(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic int GetChars(JCORefOut dupParam0, int dupParam1, int dupParam2, JCORefOut dupParam3, int dupParam4) throws java.lang.Throwable
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intdupParam3 - the argument of type JCORefOutdupParam4 - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getCodePage()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Decoder GetDecoder() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DecoderFallback getDecoderFallback() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Encoding getDefault() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Encoder GetEncoder() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic EncoderFallback getEncoderFallback() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Encoding GetEncoding(int codepage) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, ArrayTypeMismatchException, NotSupportedException, FormatException
codepage - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itpublic static Encoding GetEncoding(int codepage, EncoderFallback encoderFallback, DecoderFallback decoderFallback) throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException, ArgumentNullException, ArgumentException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, FormatException
codepage - the argument of type intencoderFallback - the argument of type EncoderFallbackdecoderFallback - the argument of type DecoderFallbackjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itpublic static Encoding GetEncoding(java.lang.String name) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, CultureNotFoundException
name - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic static Encoding GetEncoding(java.lang.String name, EncoderFallback encoderFallback, DecoderFallback decoderFallback) throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, CultureNotFoundException
name - the argument of type java.lang.StringencoderFallback - the argument of type EncoderFallbackdecoderFallback - the argument of type DecoderFallbackjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic java.lang.String getEncodingName()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
NullReferenceException,
IndexOutOfRangeException,
ArgumentOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic static EncodingInfo[] GetEncodings() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentNullException, InvalidOperationException, RankException, ArrayTypeMismatchException, InvalidCastException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic java.lang.String getHeaderName()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
NullReferenceException,
IndexOutOfRangeException,
ArgumentOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic boolean getIsBrowserDisplay()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
NullReferenceException,
IndexOutOfRangeException,
ArgumentOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic boolean getIsBrowserSave()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
NullReferenceException,
IndexOutOfRangeException,
ArgumentOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic boolean getIsMailNewsDisplay()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
NullReferenceException,
IndexOutOfRangeException,
ArgumentOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic boolean getIsMailNewsSave()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
NullReferenceException,
IndexOutOfRangeException,
ArgumentOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic boolean getIsReadOnly()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsSingleByte()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic static Encoding getLatin1() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int GetMaxByteCount(int charCount)
throws java.lang.Throwable
charCount - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic int GetMaxCharCount(int byteCount)
throws java.lang.Throwable
byteCount - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic byte[] GetPreamble()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String GetString(byte[] bytes)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException
bytes - the argument of type byte[]java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic java.lang.String GetString(byte[] bytes,
int index,
int count)
throws java.lang.Throwable
bytes - the argument of type byte[]index - the argument of type intcount - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String GetString(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
dupParam0 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic java.lang.String GetString(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Encoding getUnicode() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Encoding getUTF32() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Encoding getUTF7() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Encoding getUTF8() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getWebName()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
NullReferenceException,
IndexOutOfRangeException,
ArgumentOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic int getWindowsCodePage()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
NullReferenceException,
IndexOutOfRangeException,
ArgumentOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic boolean IsAlwaysNormalized()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean IsAlwaysNormalized(NormalizationForm form) throws java.lang.Throwable
form - the argument of type NormalizationFormjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static void RegisterProvider(EncodingProvider provider) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException
provider - the argument of type EncodingProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic void setDecoderFallback(DecoderFallback DecoderFallback) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException
DecoderFallback - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setEncoderFallback(EncoderFallback EncoderFallback) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException
EncoderFallback - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setIsReadOnly(boolean IsReadOnly)
throws java.lang.Throwable
IsReadOnly - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying object