Table of Contents

Class MessageFormat

Namespace
Java.Text
Assembly
MASES.JNet.dll
public class MessageFormat : Format, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<Format>
MessageFormat
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
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

MessageFormat()

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

public MessageFormat()

MessageFormat(String)

public MessageFormat(String arg0)

Parameters

arg0 String

String

MessageFormat(String, Locale)

public MessageFormat(String arg0, Locale arg1)

Parameters

arg0 String

String

arg1 Locale

Locale

MessageFormat(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

public MessageFormat(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

Formats

public Format[] Formats { get; set; }

Property Value

Format[]

FormatsByArgumentIndex

public Format[] FormatsByArgumentIndex { get; set; }

Property Value

Format[]

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

Locale

public Locale Locale { get; set; }

Property Value

Locale

Methods

ApplyPattern(String)

public void ApplyPattern(String arg0)

Parameters

arg0 String

String

Format(String, params object[])

public static String Format(String arg0, params object[] arg1)

Parameters

arg0 String

String

arg1 object[]

object

Returns

String

String

Format(object[], StringBuffer, FieldPosition)

public StringBuffer Format(object[] arg0, StringBuffer arg1, FieldPosition arg2)

Parameters

arg0 object[]

object

arg1 StringBuffer

StringBuffer

arg2 FieldPosition

FieldPosition

Returns

StringBuffer

StringBuffer

Parse(String)

public object[] Parse(String arg0)

Parameters

arg0 String

String

Returns

object[]

object

Exceptions

ParseException

Parse(String, ParsePosition)

public object[] Parse(String arg0, ParsePosition arg1)

Parameters

arg0 String

String

arg1 ParsePosition

ParsePosition

Returns

object[]

object

SetFormat(int, Format)

public void SetFormat(int arg0, Format arg1)

Parameters

arg0 int

int

arg1 Format

Format

SetFormatByArgumentIndex(int, Format)

public void SetFormatByArgumentIndex(int arg0, Format arg1)

Parameters

arg0 int

int

arg1 Format

Format

ToPattern()

public String ToPattern()

Returns

String

String