Table of Contents

Class NumberFormat

Namespace
Java.Text
Assembly
MASES.JNet.dll
public class NumberFormat : Format, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<Format>
NumberFormat
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeBase<Format>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Format>.IsAssignableFrom<T>()
JVMBridgeBase<Format>.Execute<T>(params T[])
JVMBridgeBase<Format>.DynBridgeClazz
JVMBridgeBase<Format>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

NumberFormat()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("NumberFormat class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public NumberFormat()

NumberFormat(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

[Obsolete("NumberFormat class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public NumberFormat(params object[] args)

Parameters

args object[]

Properties

AvailableLocales

public static Locale[] AvailableLocales { get; }

Property Value

Locale[]

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

Currency

public Currency Currency { get; set; }

Property Value

Currency

CurrencyInstance

public static NumberFormat CurrencyInstance { get; }

Property Value

NumberFormat

FRACTION_FIELD

public static int FRACTION_FIELD { get; }

Property Value

int

INTEGER_FIELD

public static int INTEGER_FIELD { get; }

Property Value

int

Instance

public static NumberFormat Instance { get; }

Property Value

NumberFormat

IntegerInstance

public static NumberFormat IntegerInstance { get; }

Property Value

NumberFormat

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

MaximumFractionDigits

public int MaximumFractionDigits { get; set; }

Property Value

int

MaximumIntegerDigits

public int MaximumIntegerDigits { get; set; }

Property Value

int

MinimumFractionDigits

public int MinimumFractionDigits { get; set; }

Property Value

int

MinimumIntegerDigits

public int MinimumIntegerDigits { get; set; }

Property Value

int

NumberInstance

public static NumberFormat NumberInstance { get; }

Property Value

NumberFormat

PercentInstance

public static NumberFormat PercentInstance { get; }

Property Value

NumberFormat

RoundingMode

public RoundingMode RoundingMode { get; set; }

Property Value

RoundingMode

Methods

Format(double)

public String Format(double arg0)

Parameters

arg0 double

double

Returns

String

String

Format(double, StringBuffer, FieldPosition)

public StringBuffer Format(double arg0, StringBuffer arg1, FieldPosition arg2)

Parameters

arg0 double

double

arg1 StringBuffer

StringBuffer

arg2 FieldPosition

FieldPosition

Returns

StringBuffer

StringBuffer

Format(long)

public String Format(long arg0)

Parameters

arg0 long

long

Returns

String

String

Format(long, StringBuffer, FieldPosition)

public StringBuffer Format(long arg0, StringBuffer arg1, FieldPosition arg2)

Parameters

arg0 long

long

arg1 StringBuffer

StringBuffer

arg2 FieldPosition

FieldPosition

Returns

StringBuffer

StringBuffer

GetCurrencyInstance(Locale)

public static NumberFormat GetCurrencyInstance(Locale arg0)

Parameters

arg0 Locale

Locale

Returns

NumberFormat

NumberFormat

GetInstance(Locale)

public static NumberFormat GetInstance(Locale arg0)

Parameters

arg0 Locale

Locale

Returns

NumberFormat

NumberFormat

GetIntegerInstance(Locale)

public static NumberFormat GetIntegerInstance(Locale arg0)

Parameters

arg0 Locale

Locale

Returns

NumberFormat

NumberFormat

GetNumberInstance(Locale)

public static NumberFormat GetNumberInstance(Locale arg0)

Parameters

arg0 Locale

Locale

Returns

NumberFormat

NumberFormat

GetPercentInstance(Locale)

public static NumberFormat GetPercentInstance(Locale arg0)

Parameters

arg0 Locale

Locale

Returns

NumberFormat

NumberFormat

IsGroupingUsed()

public bool IsGroupingUsed()

Returns

bool

bool

IsParseIntegerOnly()

public bool IsParseIntegerOnly()

Returns

bool

bool

Parse(String)

public Number Parse(String arg0)

Parameters

arg0 String

String

Returns

Number

Number

Exceptions

ParseException

Parse(String, ParsePosition)

public Number Parse(String arg0, ParsePosition arg1)

Parameters

arg0 String

String

arg1 ParsePosition

ParsePosition

Returns

Number

Number

SetGroupingUsed(bool)

public void SetGroupingUsed(bool arg0)

Parameters

arg0 bool

bool

SetParseIntegerOnly(bool)

public void SetParseIntegerOnly(bool arg0)

Parameters

arg0 bool

bool