Package microsoft.visualbasic
Class Conversion
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- microsoft.visualbasic.Conversion
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class Conversion extends NetObject
The base .NET class managing Microsoft.VisualBasic.Conversion, Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.VisualBasic.Conversion
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: Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: Microsoft.VisualBasicstatic java.lang.StringclassNameQualified class name: Microsoft.VisualBasic.Conversionstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description Conversion()Conversion(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Conversioncast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoConversion, a cast assert is made to check if types are compatible.static NetObjectCTypeDynamic(NetObject Expression, NetType TargetType)static java.lang.StringErrorToString()static java.lang.StringErrorToString(int ErrorNumber)static doubleFix(double Number)static intFix(int Number)static longFix(long Number)static shortFix(short Number)static NetObjectFix(NetObject Number)static DecimalFix(Decimal Number)static SingleFix(Single Number)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 java.lang.StringHex(byte Number)static java.lang.StringHex(int Number)static java.lang.StringHex(long Number)static java.lang.StringHex(short Number)static java.lang.StringHex(NetObject Number)static java.lang.StringHex(SByte Number)static java.lang.StringHex(UInt16 Number)static java.lang.StringHex(UInt32 Number)static java.lang.StringHex(UInt64 Number)static doubleInt(double Number)static intInt(int Number)static longInt(long Number)static shortInt(short Number)static NetObjectInt(NetObject Number)static DecimalInt(Decimal Number)static SingleInt(Single Number)static java.lang.StringOct(byte Number)static java.lang.StringOct(int Number)static java.lang.StringOct(long Number)static java.lang.StringOct(short Number)static java.lang.StringOct(NetObject Number)static java.lang.StringOct(SByte Number)static java.lang.StringOct(UInt16 Number)static java.lang.StringOct(UInt32 Number)static java.lang.StringOct(UInt64 Number)voidsetJCOInstance(JCObject instance)static java.lang.StringStr(NetObject Number)static intVal(char Expression)static doubleVal(java.lang.String InputStr)static doubleVal(NetObject Expression)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: Microsoft.VisualBasic- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: Microsoft.VisualBasic.Conversion- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- 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 interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- 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 interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- 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 interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static Conversion cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoConversion, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
Conversioninstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Fix
public static double Fix(double Number) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Int
public static double Int(double Number) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Val
public static double Val(NetObject Expression) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, FormatException, NullReferenceException, OverflowException, InvalidCastException
- Throws:
java.lang.ThrowableIndexOutOfRangeExceptionArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionNotSupportedExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidCastException
-
Val
public static double Val(java.lang.String InputStr) throws java.lang.Throwable, IndexOutOfRangeException, NotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, FormatException, CultureNotFoundException, ArgumentException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException
-
Fix
public static short Fix(short Number) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Int
public static short Int(short Number) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Fix
public static int Fix(int Number) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Int
public static int Int(int Number) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Val
public static int Val(char Expression) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Fix
public static long Fix(long Number) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Int
public static long Int(long Number) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Fix
public static Decimal Fix(Decimal Number) throws java.lang.Throwable, ArgumentException
- Throws:
java.lang.ThrowableArgumentException
-
Int
public static Decimal Int(Decimal Number) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CTypeDynamic
public static NetObject CTypeDynamic(NetObject Expression, NetType TargetType) throws java.lang.Throwable, NotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, InvalidOperationException, ArgumentNullException, MissingMethodException, TargetInvocationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, OverflowException, InvalidCastException, MemberAccessException, TargetException, TargetParameterCountException, RankException, NullReferenceException, MissingMemberException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionOverflowExceptionInvalidCastExceptionMemberAccessExceptionTargetExceptionTargetParameterCountExceptionRankExceptionNullReferenceExceptionMissingMemberException
-
Fix
public static NetObject Fix(NetObject Number) throws java.lang.Throwable, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, IndexOutOfRangeException, ArgumentException, InvalidOperationException, ArgumentNullException, MissingMethodException, TargetInvocationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, NullReferenceException, OverflowException, InvalidCastException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidCastException
-
Int
public static NetObject Int(NetObject Number) throws java.lang.Throwable, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, IndexOutOfRangeException, ArgumentException, InvalidOperationException, ArgumentNullException, MissingMethodException, TargetInvocationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, NullReferenceException, OverflowException, InvalidCastException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionNullReferenceExceptionOverflowExceptionInvalidCastException
-
ErrorToString
public static java.lang.String ErrorToString() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, MissingManifestResourceException, InvalidOperationException, CultureNotFoundException, NotSupportedException, IndexOutOfRangeException
-
ErrorToString
public static java.lang.String ErrorToString(int ErrorNumber) throws java.lang.Throwable, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, AbandonedMutexException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionNotSupportedExceptionIndexOutOfRangeExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionAbandonedMutexException
-
Hex
public static java.lang.String Hex(byte Number) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, TypeInitializationException
-
Hex
public static java.lang.String Hex(short Number) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, TypeInitializationException
-
Hex
public static java.lang.String Hex(int Number) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, TypeInitializationException
-
Hex
public static java.lang.String Hex(long Number) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, TypeInitializationException
-
Hex
public static java.lang.String Hex(SByte Number) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, TypeInitializationException
-
Hex
public static java.lang.String Hex(NetObject Number) throws java.lang.Throwable, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, IndexOutOfRangeException, ArgumentException, InvalidOperationException, ArgumentNullException, MissingMethodException, TargetInvocationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, OverflowException, InvalidCastException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionOverflowExceptionInvalidCastException
-
Hex
public static java.lang.String Hex(UInt16 Number) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, TypeInitializationException
-
Hex
public static java.lang.String Hex(UInt32 Number) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, TypeInitializationException
-
Hex
public static java.lang.String Hex(UInt64 Number) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, TypeInitializationException
-
Oct
public static java.lang.String Oct(byte Number) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, ArgumentNullException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, OverflowException, RankException
-
Oct
public static java.lang.String Oct(short Number) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, ArgumentNullException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, OverflowException, RankException
-
Oct
public static java.lang.String Oct(int Number) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, ArgumentNullException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, OverflowException, RankException
-
Oct
public static java.lang.String Oct(long Number) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, ArgumentNullException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, OverflowException, RankException
-
Oct
public static java.lang.String Oct(SByte Number) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, ArgumentNullException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, OverflowException, RankException
-
Oct
public static java.lang.String Oct(NetObject Number) throws java.lang.Throwable, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, IndexOutOfRangeException, ArgumentException, InvalidOperationException, ArgumentNullException, MissingMethodException, TargetInvocationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, OverflowException, RankException, InvalidCastException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionOverflowExceptionRankExceptionInvalidCastException
-
Oct
public static java.lang.String Oct(UInt16 Number) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, ArgumentNullException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, OverflowException, RankException
-
Oct
public static java.lang.String Oct(UInt32 Number) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, ArgumentNullException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, OverflowException, RankException
-
Oct
public static java.lang.String Oct(UInt64 Number) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, ArgumentNullException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, OverflowException, RankException
-
Str
public static java.lang.String Str(NetObject Number) throws java.lang.Throwable, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, IndexOutOfRangeException, ArgumentException, InvalidOperationException, ArgumentNullException, MissingMethodException, TargetInvocationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidCastException, OverflowException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidCastExceptionOverflowException
-
-