public class Rune extends ValueType implements IComparable, IFormattable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Text.Rune
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=8.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.Rune
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Rune() |
Rune(char ch) |
Rune(char highSurrogate,
char lowSurrogate) |
Rune(int value) |
Rune(java.lang.Object instance)
Internal constructor.
|
Rune(UInt32 value) |
| Modifier and Type | Method and Description |
|---|---|
static Rune |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Rune, a cast assert is made to check if types are compatible. |
int |
CompareTo(Rune other) |
boolean |
Equals(Rune other) |
boolean |
getIsAscii() |
boolean |
getIsBmp() |
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
|
static double |
GetNumericValue(Rune value) |
int |
getPlane() |
static Rune |
getReplacementChar() |
static Rune |
GetRuneAt(java.lang.String input,
int index) |
static UnicodeCategory |
GetUnicodeCategory(Rune value) |
int |
getUtf16SequenceLength() |
int |
getUtf8SequenceLength() |
int |
getValue() |
static boolean |
IsControl(Rune value) |
static boolean |
IsDigit(Rune value) |
static boolean |
IsLetter(Rune value) |
static boolean |
IsLetterOrDigit(Rune value) |
static boolean |
IsLower(Rune value) |
static boolean |
IsNumber(Rune value) |
static boolean |
IsPunctuation(Rune value) |
static boolean |
IsSeparator(Rune value) |
static boolean |
IsSymbol(Rune value) |
static boolean |
IsUpper(Rune value) |
static boolean |
IsValid(int value) |
static boolean |
IsValid(UInt32 value) |
static boolean |
IsWhiteSpace(Rune value) |
void |
setJCOInstance(JCObject instance) |
static Rune |
ToLower(Rune value,
CultureInfo culture) |
static Rune |
ToLowerInvariant(Rune value) |
static Rune |
ToUpper(Rune value,
CultureInfo culture) |
static Rune |
ToUpperInvariant(Rune value) |
static boolean |
TryCreate(char highSurrogate,
char lowSurrogate,
JCORefOut<Rune> result) |
static boolean |
TryCreate(char ch,
JCORefOut<Rune> result) |
static boolean |
TryCreate(int value,
JCORefOut<Rune> result) |
static boolean |
TryCreate(UInt32 value,
JCORefOut<Rune> result) |
static boolean |
TryGetRuneAt(java.lang.String input,
int index,
JCORefOut<Rune> value) |
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToStringCompareTo, ToIComparableToIFormattable, ToStringpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Rune()
throws java.lang.Throwable
java.lang.Throwablepublic Rune(char ch)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public Rune(char highSurrogate,
char lowSurrogate)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public Rune(int value)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException
public Rune(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic Rune(UInt32 value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
public static Rune cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Rune, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedRune instancejava.lang.Throwable - in case of error during cast operationpublic int CompareTo(Rune other) throws java.lang.Throwable
java.lang.Throwablepublic boolean Equals(Rune other) throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsAscii()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsBmp()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IComparablegetJCOAssemblyName in interface IFormattablegetJCOAssemblyName in class ValueTypeString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IComparablegetJCOClassName in interface IFormattablegetJCOClassName in class ValueTypeString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IComparablegetJCOInstance in interface IFormattablegetJCOInstance in class ValueTypeObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IComparablegetJCOObjectName in interface IFormattablegetJCOObjectName in class ValueTypeString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface IComparablegetJCOType in interface IFormattablegetJCOType in class ValueTypeJCType representing the CLR Type of the instantiated Classpublic static double GetNumericValue(Rune value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
public int getPlane()
throws java.lang.Throwable
java.lang.Throwablepublic static Rune getReplacementChar() throws java.lang.Throwable
java.lang.Throwablepublic static Rune GetRuneAt(java.lang.String input, int index) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException
public static UnicodeCategory GetUnicodeCategory(Rune value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException
public int getUtf16SequenceLength()
throws java.lang.Throwable
java.lang.Throwablepublic int getUtf8SequenceLength()
throws java.lang.Throwable
java.lang.Throwablepublic int getValue()
throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsControl(Rune value) throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsDigit(Rune value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic static boolean IsLetter(Rune value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic static boolean IsLetterOrDigit(Rune value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException
public static boolean IsLower(Rune value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic static boolean IsNumber(Rune value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic static boolean IsPunctuation(Rune value) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException
public static boolean IsSeparator(Rune value) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException
public static boolean IsSymbol(Rune value) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException
public static boolean IsUpper(Rune value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic static boolean IsValid(int value)
throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsValid(UInt32 value) throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsWhiteSpace(Rune value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException
public void setJCOInstance(JCObject instance)
setJCOInstance in class ValueTypepublic static Rune ToLower(Rune value, CultureInfo culture) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ArgumentNullException, ObjectDisposedException, RankException, IndexOutOfRangeException
public static Rune ToLowerInvariant(Rune value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, CultureNotFoundException
public static Rune ToUpper(Rune value, CultureInfo culture) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ArgumentNullException, ObjectDisposedException, RankException, IndexOutOfRangeException
public static Rune ToUpperInvariant(Rune value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, CultureNotFoundException
public static boolean TryCreate(char highSurrogate,
char lowSurrogate,
JCORefOut<Rune> result)
throws java.lang.Throwable
java.lang.Throwablepublic static boolean TryCreate(char ch,
JCORefOut<Rune> result)
throws java.lang.Throwable
java.lang.Throwablepublic static boolean TryCreate(int value,
JCORefOut<Rune> result)
throws java.lang.Throwable
java.lang.Throwablepublic static boolean TryCreate(UInt32 value, JCORefOut<Rune> result) throws java.lang.Throwable
java.lang.Throwablepublic static boolean TryGetRuneAt(java.lang.String input,
int index,
JCORefOut<Rune> value)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException