Package system.globalization
Class NumberFormatInfo
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.globalization.NumberFormatInfo
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class NumberFormatInfo extends NetObject
The base .NET class managing System.Globalization.NumberFormatInfo, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Globalization.NumberFormatInfo
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=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798estatic java.lang.String
assemblyShortName
Assembly name: System.Private.CoreLibstatic java.lang.String
className
Qualified class name: System.Globalization.NumberFormatInfostatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description NumberFormatInfo()
NumberFormatInfo(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NumberFormatInfo
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoNumberFormatInfo
, a cast assert is made to check if types are compatible.NetObject
Clone()
int
getCurrencyDecimalDigits()
java.lang.String
getCurrencyDecimalSeparator()
java.lang.String
getCurrencyGroupSeparator()
int[]
getCurrencyGroupSizes()
int
getCurrencyNegativePattern()
int
getCurrencyPositivePattern()
java.lang.String
getCurrencySymbol()
static NumberFormatInfo
getCurrentInfo()
DigitShapes
getDigitSubstitution()
NetObject
GetFormat(NetType formatType)
static NumberFormatInfo
GetInstance(IFormatProvider formatProvider)
static NumberFormatInfo
getInvariantInfo()
boolean
getIsReadOnly()
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 Typejava.lang.String
getNaNSymbol()
java.lang.String[]
getNativeDigits()
java.lang.String
getNegativeInfinitySymbol()
java.lang.String
getNegativeSign()
int
getNumberDecimalDigits()
java.lang.String
getNumberDecimalSeparator()
java.lang.String
getNumberGroupSeparator()
int[]
getNumberGroupSizes()
int
getNumberNegativePattern()
int
getPercentDecimalDigits()
java.lang.String
getPercentDecimalSeparator()
java.lang.String
getPercentGroupSeparator()
int[]
getPercentGroupSizes()
int
getPercentNegativePattern()
int
getPercentPositivePattern()
java.lang.String
getPercentSymbol()
java.lang.String
getPerMilleSymbol()
java.lang.String
getPositiveInfinitySymbol()
java.lang.String
getPositiveSign()
static NumberFormatInfo
ReadOnly(NumberFormatInfo nfi)
void
setCurrencyDecimalDigits(int CurrencyDecimalDigits)
void
setCurrencyDecimalSeparator(java.lang.String CurrencyDecimalSeparator)
void
setCurrencyGroupSeparator(java.lang.String CurrencyGroupSeparator)
void
setCurrencyGroupSizes(int[] CurrencyGroupSizes)
void
setCurrencyNegativePattern(int CurrencyNegativePattern)
void
setCurrencyPositivePattern(int CurrencyPositivePattern)
void
setCurrencySymbol(java.lang.String CurrencySymbol)
void
setDigitSubstitution(DigitShapes DigitSubstitution)
void
setJCOInstance(JCObject instance)
void
setNaNSymbol(java.lang.String NaNSymbol)
void
setNativeDigits(java.lang.String[] NativeDigits)
void
setNegativeInfinitySymbol(java.lang.String NegativeInfinitySymbol)
void
setNegativeSign(java.lang.String NegativeSign)
void
setNumberDecimalDigits(int NumberDecimalDigits)
void
setNumberDecimalSeparator(java.lang.String NumberDecimalSeparator)
void
setNumberGroupSeparator(java.lang.String NumberGroupSeparator)
void
setNumberGroupSizes(int[] NumberGroupSizes)
void
setNumberNegativePattern(int NumberNegativePattern)
void
setPercentDecimalDigits(int PercentDecimalDigits)
void
setPercentDecimalSeparator(java.lang.String PercentDecimalSeparator)
void
setPercentGroupSeparator(java.lang.String PercentGroupSeparator)
void
setPercentGroupSizes(int[] PercentGroupSizes)
void
setPercentNegativePattern(int PercentNegativePattern)
void
setPercentPositivePattern(int PercentPositivePattern)
void
setPercentSymbol(java.lang.String PercentSymbol)
void
setPerMilleSymbol(java.lang.String PerMilleSymbol)
void
setPositiveInfinitySymbol(java.lang.String PositiveInfinitySymbol)
void
setPositiveSign(java.lang.String PositiveSign)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=9.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.Globalization.NumberFormatInfo- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static NumberFormatInfo cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoNumberFormatInfo
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
NumberFormatInfo
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
GetInstance
public static NumberFormatInfo GetInstance(IFormatProvider formatProvider) throws java.lang.Throwable, OutOfMemoryException, ArgumentNullException, ArgumentException, NotSupportedException, CultureNotFoundException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, RankException, ArrayTypeMismatchException, TypeInitializationException
-
ReadOnly
public static NumberFormatInfo ReadOnly(NumberFormatInfo nfi) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
Clone
public NetObject Clone() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
-
GetFormat
public NetObject GetFormat(NetType formatType) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIsReadOnly
public boolean getIsReadOnly() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCurrencyDecimalDigits
public int getCurrencyDecimalDigits() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCurrencyDecimalDigits
public void setCurrencyDecimalDigits(int CurrencyDecimalDigits) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
getCurrencyNegativePattern
public int getCurrencyNegativePattern() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCurrencyNegativePattern
public void setCurrencyNegativePattern(int CurrencyNegativePattern) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
getCurrencyPositivePattern
public int getCurrencyPositivePattern() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCurrencyPositivePattern
public void setCurrencyPositivePattern(int CurrencyPositivePattern) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
getNumberDecimalDigits
public int getNumberDecimalDigits() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setNumberDecimalDigits
public void setNumberDecimalDigits(int NumberDecimalDigits) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
getNumberNegativePattern
public int getNumberNegativePattern() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setNumberNegativePattern
public void setNumberNegativePattern(int NumberNegativePattern) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
getPercentDecimalDigits
public int getPercentDecimalDigits() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setPercentDecimalDigits
public void setPercentDecimalDigits(int PercentDecimalDigits) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
getPercentNegativePattern
public int getPercentNegativePattern() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setPercentNegativePattern
public void setPercentNegativePattern(int PercentNegativePattern) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
getPercentPositivePattern
public int getPercentPositivePattern() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setPercentPositivePattern
public void setPercentPositivePattern(int PercentPositivePattern) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
getCurrencyGroupSizes
public int[] getCurrencyGroupSizes() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
setCurrencyGroupSizes
public void setCurrencyGroupSizes(int[] CurrencyGroupSizes) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
getNumberGroupSizes
public int[] getNumberGroupSizes() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
setNumberGroupSizes
public void setNumberGroupSizes(int[] NumberGroupSizes) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
getPercentGroupSizes
public int[] getPercentGroupSizes() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
setPercentGroupSizes
public void setPercentGroupSizes(int[] PercentGroupSizes) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
getDigitSubstitution
public DigitShapes getDigitSubstitution() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDigitSubstitution
public void setDigitSubstitution(DigitShapes DigitSubstitution) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
getCurrentInfo
public static NumberFormatInfo getCurrentInfo() throws java.lang.Throwable, ArgumentNullException, OutOfMemoryException, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArrayTypeMismatchException, RankException, InvalidCastException, TypeInitializationException
- Throws:
java.lang.Throwable
ArgumentNullException
OutOfMemoryException
ArgumentException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
NotSupportedException
ArgumentOutOfRangeException
IndexOutOfRangeException
ArrayTypeMismatchException
RankException
InvalidCastException
TypeInitializationException
-
getInvariantInfo
public static NumberFormatInfo getInvariantInfo() throws java.lang.Throwable, OutOfMemoryException, PlatformNotSupportedException, ArgumentNullException, ArgumentException, NotSupportedException, CultureNotFoundException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException
-
getCurrencyDecimalSeparator
public java.lang.String getCurrencyDecimalSeparator() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCurrencyDecimalSeparator
public void setCurrencyDecimalSeparator(java.lang.String CurrencyDecimalSeparator) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
getCurrencyGroupSeparator
public java.lang.String getCurrencyGroupSeparator() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCurrencyGroupSeparator
public void setCurrencyGroupSeparator(java.lang.String CurrencyGroupSeparator) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
getCurrencySymbol
public java.lang.String getCurrencySymbol() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCurrencySymbol
public void setCurrencySymbol(java.lang.String CurrencySymbol) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
getNaNSymbol
public java.lang.String getNaNSymbol() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setNaNSymbol
public void setNaNSymbol(java.lang.String NaNSymbol) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
getNegativeInfinitySymbol
public java.lang.String getNegativeInfinitySymbol() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setNegativeInfinitySymbol
public void setNegativeInfinitySymbol(java.lang.String NegativeInfinitySymbol) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
getNegativeSign
public java.lang.String getNegativeSign() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setNegativeSign
public void setNegativeSign(java.lang.String NegativeSign) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException
-
getNumberDecimalSeparator
public java.lang.String getNumberDecimalSeparator() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setNumberDecimalSeparator
public void setNumberDecimalSeparator(java.lang.String NumberDecimalSeparator) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
getNumberGroupSeparator
public java.lang.String getNumberGroupSeparator() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setNumberGroupSeparator
public void setNumberGroupSeparator(java.lang.String NumberGroupSeparator) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
getPercentDecimalSeparator
public java.lang.String getPercentDecimalSeparator() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setPercentDecimalSeparator
public void setPercentDecimalSeparator(java.lang.String PercentDecimalSeparator) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
getPercentGroupSeparator
public java.lang.String getPercentGroupSeparator() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setPercentGroupSeparator
public void setPercentGroupSeparator(java.lang.String PercentGroupSeparator) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
getPercentSymbol
public java.lang.String getPercentSymbol() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setPercentSymbol
public void setPercentSymbol(java.lang.String PercentSymbol) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
getPerMilleSymbol
public java.lang.String getPerMilleSymbol() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setPerMilleSymbol
public void setPerMilleSymbol(java.lang.String PerMilleSymbol) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
getPositiveInfinitySymbol
public java.lang.String getPositiveInfinitySymbol() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setPositiveInfinitySymbol
public void setPositiveInfinitySymbol(java.lang.String PositiveInfinitySymbol) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
getPositiveSign
public java.lang.String getPositiveSign() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setPositiveSign
public void setPositiveSign(java.lang.String PositiveSign) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException
-
getNativeDigits
public java.lang.String[] getNativeDigits() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
setNativeDigits
public void setNativeDigits(java.lang.String[] NativeDigits) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException
-
-