Package system.runtime.serialization
Interface IFormatterConverter
-
- All Superinterfaces:
IJCOBridgeReflected
- All Known Implementing Classes:
IFormatterConverterImplementation
public interface IFormatterConverter extends IJCOBridgeReflected
The base .NET class managing System.Runtime.Serialization.IFormatterConverter, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Runtime.Serialization.IFormatterConverter
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: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: mscorlibstatic java.lang.StringclassNameQualified class name: System.Runtime.Serialization.IFormatterConverter
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description NetObjectConvert(NetObject value, NetType type)NetObjectConvert(NetObject value, TypeCode typeCode)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 TypebooleanToBoolean(NetObject value)byteToByte(NetObject value)charToChar(NetObject value)DateTimeToDateTime(NetObject value)DecimalToDecimal(NetObject value)doubleToDouble(NetObject value)static IFormatterConverterToIFormatterConverter(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoIFormatterConverter, a cast assert is made to check if types are compatible.shortToInt16(NetObject value)intToInt32(NetObject value)longToInt64(NetObject value)SByteToSByte(NetObject value)SingleToSingle(NetObject value)java.lang.StringToString(NetObject value)UInt16ToUInt16(NetObject value)UInt32ToUInt32(NetObject value)UInt64ToUInt64(NetObject value)
-
-
-
Field Detail
-
assemblyFullName
static final java.lang.String assemblyFullName
Fully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
static final java.lang.String assemblyShortName
Assembly name: mscorlib- See Also:
- Constant Field Values
-
className
static final java.lang.String className
Qualified class name: System.Runtime.Serialization.IFormatterConverter- See Also:
- Constant Field Values
-
-
Method Detail
-
ToIFormatterConverter
static IFormatterConverter ToIFormatterConverter(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoIFormatterConverter, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
IFormatterConverterinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
getJCOAssemblyName
java.lang.String getJCOAssemblyName()
Returns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
java.lang.String getJCOClassName()
Returns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
java.lang.String getJCOObjectName()
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
java.lang.Object getJCOInstance()
Returns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Returns:
- An
Objectrepresenting the instance of the instantiated Class
-
getJCOType
JCType getJCOType()
Returns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Returns:
- A
JCTyperepresenting the Type of the instantiated Class
-
ToBoolean
boolean ToBoolean(NetObject value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToByte
byte ToByte(NetObject value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToChar
char ToChar(NetObject value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToDouble
double ToDouble(NetObject value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToInt16
short ToInt16(NetObject value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToInt32
int ToInt32(NetObject value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToInt64
long ToInt64(NetObject value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToDateTime
DateTime ToDateTime(NetObject value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToDecimal
Decimal ToDecimal(NetObject value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Convert
NetObject Convert(NetObject value, NetType type) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Convert
NetObject Convert(NetObject value, TypeCode typeCode) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToString
java.lang.String ToString(NetObject value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-