Package system.text
Class Rune
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.ValueType
-
- system.text.Rune
-
- All Implemented Interfaces:
IJCOBridgeReflected,IComparable,IFormattable
public class Rune extends ValueType implements IComparable, IFormattable
The base .NET class managing System.Text.Rune, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Text.Rune
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798estatic java.lang.StringassemblyShortNameAssembly name: System.Private.CoreLibstatic java.lang.StringclassNameQualified class name: System.Text.Runestatic JCTypeclassTypeThe type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Runecast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoRune, a cast assert is made to check if types are compatible.intCompareTo(Rune other)booleanEquals(Rune other)booleangetIsAscii()booleangetIsBmp()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class Typestatic doubleGetNumericValue(Rune value)intgetPlane()static RunegetReplacementChar()static RuneGetRuneAt(java.lang.String input, int index)static UnicodeCategoryGetUnicodeCategory(Rune value)intgetUtf16SequenceLength()intgetUtf8SequenceLength()intgetValue()static booleanIsControl(Rune value)static booleanIsDigit(Rune value)static booleanIsLetter(Rune value)static booleanIsLetterOrDigit(Rune value)static booleanIsLower(Rune value)static booleanIsNumber(Rune value)static booleanIsPunctuation(Rune value)static booleanIsSeparator(Rune value)static booleanIsSymbol(Rune value)static booleanIsUpper(Rune value)static booleanIsValid(int value)static booleanIsValid(UInt32 value)static booleanIsWhiteSpace(Rune value)voidsetJCOInstance(JCObject instance)static RuneToLower(Rune value, CultureInfo culture)static RuneToLowerInvariant(Rune value)static RuneToUpper(Rune value, CultureInfo culture)static RuneToUpperInvariant(Rune value)static booleanTryCreate(char highSurrogate, char lowSurrogate, JCORefOut<Rune> result)static booleanTryCreate(char ch, JCORefOut<Rune> result)static booleanTryCreate(int value, JCORefOut<Rune> result)static booleanTryCreate(UInt32 value, JCORefOut<Rune> result)static booleanTryGetRuneAt(java.lang.String input, int index, JCORefOut<Rune> value)-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.IComparable
CompareTo
-
Methods inherited from interface system.IFormattable
ToString
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Private.CoreLib- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Text.Rune- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Rune
public Rune(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
Rune
public Rune() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Rune
public Rune(char highSurrogate, char lowSurrogate) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
Rune
public Rune(char ch) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
Rune
public Rune(int value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
Rune
public Rune(UInt32 value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIComparable- Specified by:
getJCOAssemblyNamein interfaceIFormattable- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classValueType- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIComparable- Specified by:
getJCOClassNamein interfaceIFormattable- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classValueType- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIComparable- Specified by:
getJCOObjectNamein interfaceIFormattable- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classValueType- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIComparable- Specified by:
getJCOInstancein interfaceIFormattable- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classValueType- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classValueType
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIComparable- Specified by:
getJCOTypein interfaceIFormattable- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classValueType- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static Rune cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoRune, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
Runeinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Equals
public boolean Equals(Rune other) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IsControl
public static boolean IsControl(Rune value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IsDigit
public static boolean IsDigit(Rune value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedException
-
IsLetter
public static boolean IsLetter(Rune value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedException
-
IsLetterOrDigit
public static boolean IsLetterOrDigit(Rune value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException
-
IsLower
public static boolean IsLower(Rune value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedException
-
IsNumber
public static boolean IsNumber(Rune value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedException
-
IsPunctuation
public static boolean IsPunctuation(Rune value) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException
-
IsSeparator
public static boolean IsSeparator(Rune value) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException
-
IsSymbol
public static boolean IsSymbol(Rune value) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException
-
IsUpper
public static boolean IsUpper(Rune value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedException
-
IsValid
public static boolean IsValid(int value) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
IsValid
public static boolean IsValid(UInt32 value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IsWhiteSpace
public static boolean IsWhiteSpace(Rune value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException
-
TryCreate
public static boolean TryCreate(char highSurrogate, char lowSurrogate, JCORefOut<Rune> result) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
TryCreate
public static boolean TryCreate(char ch, JCORefOut<Rune> result) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
TryCreate
public static boolean TryCreate(int value, JCORefOut<Rune> result) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
TryCreate
public static boolean TryCreate(UInt32 value, JCORefOut<Rune> result) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
TryGetRuneAt
public 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
-
GetNumericValue
public static double GetNumericValue(Rune value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
CompareTo
public int CompareTo(Rune other) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetUnicodeCategory
public static UnicodeCategory GetUnicodeCategory(Rune value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException
-
GetRuneAt
public static Rune GetRuneAt(java.lang.String input, int index) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException
-
ToLower
public static Rune ToLower(Rune value, CultureInfo culture) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ArgumentNullException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
ToLowerInvariant
public static Rune ToLowerInvariant(Rune value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, CultureNotFoundException
-
ToUpper
public static Rune ToUpper(Rune value, CultureInfo culture) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ArgumentNullException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
ToUpperInvariant
public static Rune ToUpperInvariant(Rune value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, CultureNotFoundException
-
getIsAscii
public boolean getIsAscii() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getIsBmp
public boolean getIsBmp() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getPlane
public int getPlane() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getUtf16SequenceLength
public int getUtf16SequenceLength() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getUtf8SequenceLength
public int getUtf8SequenceLength() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getValue
public int getValue() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getReplacementChar
public static Rune getReplacementChar() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-