Package system
Interface IConvertible
-
- All Superinterfaces:
IJCOBridgeReflected
- All Known Implementing Classes:
IConvertibleImplementation
public interface IConvertible extends IJCOBridgeReflected
The base .NET class managing System.IConvertible, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.IConvertible
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.String
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798estatic java.lang.String
assemblyShortName
Assembly name: System.Private.CoreLibstatic java.lang.String
className
Qualified class name: System.IConvertible
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeTypeCode
GetTypeCode()
boolean
ToBoolean(IFormatProvider provider)
byte
ToByte(IFormatProvider provider)
char
ToChar(IFormatProvider provider)
DateTime
ToDateTime(IFormatProvider provider)
Decimal
ToDecimal(IFormatProvider provider)
double
ToDouble(IFormatProvider provider)
static IConvertible
ToIConvertible(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoIConvertible
, a cast assert is made to check if types are compatible.short
ToInt16(IFormatProvider provider)
int
ToInt32(IFormatProvider provider)
long
ToInt64(IFormatProvider provider)
SByte
ToSByte(IFormatProvider provider)
Single
ToSingle(IFormatProvider provider)
java.lang.String
ToString(IFormatProvider provider)
NetObject
ToType(NetType conversionType, IFormatProvider provider)
UInt16
ToUInt16(IFormatProvider provider)
UInt32
ToUInt32(IFormatProvider provider)
UInt64
ToUInt64(IFormatProvider provider)
-
-
-
Field Detail
-
assemblyFullName
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
static final java.lang.String assemblyShortName
Assembly name: System.Private.CoreLib- See Also:
- Constant Field Values
-
className
static final java.lang.String className
Qualified class name: System.IConvertible- See Also:
- Constant Field Values
-
-
Method Detail
-
ToIConvertible
static IConvertible ToIConvertible(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoIConvertible
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
IConvertible
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
getJCOAssemblyName
java.lang.String getJCOAssemblyName()
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
java.lang.String getJCOClassName()
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
java.lang.String getJCOObjectName()
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
java.lang.Object getJCOInstance()
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Returns:
- An
Object
representing the instance of the instantiated Class
-
getJCOType
JCType getJCOType()
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Returns:
- A
JCType
representing the Type of the instantiated Class
-
ToBoolean
boolean ToBoolean(IFormatProvider provider) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToByte
byte ToByte(IFormatProvider provider) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToChar
char ToChar(IFormatProvider provider) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToDouble
double ToDouble(IFormatProvider provider) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToInt16
short ToInt16(IFormatProvider provider) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToInt32
int ToInt32(IFormatProvider provider) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToInt64
long ToInt64(IFormatProvider provider) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToSByte
SByte ToSByte(IFormatProvider provider) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToSingle
Single ToSingle(IFormatProvider provider) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToDateTime
DateTime ToDateTime(IFormatProvider provider) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToDecimal
Decimal ToDecimal(IFormatProvider provider) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToType
NetObject ToType(NetType conversionType, IFormatProvider provider) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToString
java.lang.String ToString(IFormatProvider provider) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetTypeCode
TypeCode GetTypeCode() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToUInt16
UInt16 ToUInt16(IFormatProvider provider) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToUInt32
UInt32 ToUInt32(IFormatProvider provider) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToUInt64
UInt64 ToUInt64(IFormatProvider provider) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-