Table of Contents

Class MessageFormat

Namespace
Android.Icu.Text
Assembly
MASES.Netdroid.dll
public class MessageFormat : UFormat, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable, ICloneable
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, ULocale)

public MessageFormat(String arg0, ULocale arg1)

Parameters

arg0 String

String

arg1 ULocale

ULocale

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

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

Methods

ApplyPattern(String)

public void ApplyPattern(String arg0)

Parameters

arg0 String

String

ApplyPattern(String, ApostropheMode)

public void ApplyPattern(String arg0, MessagePattern.ApostropheMode arg1)

Parameters

arg0 String

String

arg1 MessagePattern.ApostropheMode

MessagePattern.ApostropheMode

AutoQuoteApostrophe(String)

public static String AutoQuoteApostrophe(String arg0)

Parameters

arg0 String

String

Returns

String

String

Format(String, Map<String, object>)

public static String Format(String arg0, Map<String, object> arg1)

Parameters

arg0 String

String

arg1 Map<String, object>

Map

Returns

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(Map<String, object>, StringBuffer, FieldPosition)

public StringBuffer Format(Map<String, object> arg0, StringBuffer arg1, FieldPosition arg2)

Parameters

arg0 Map<String, object>

Map

arg1 StringBuffer

StringBuffer

arg2 FieldPosition

FieldPosition

Returns

StringBuffer

StringBuffer

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

GetApostropheMode()

public MessagePattern.ApostropheMode GetApostropheMode()

Returns

MessagePattern.ApostropheMode

MessagePattern.ApostropheMode

GetArgumentNames()

public Set<String> GetArgumentNames()

Returns

Set<String>

Set

GetFormatByArgumentName(String)

public Format GetFormatByArgumentName(String arg0)

Parameters

arg0 String

String

Returns

Format

Format

GetFormats()

public Format[] GetFormats()

Returns

Format[]

Format

GetFormatsByArgumentIndex()

public Format[] GetFormatsByArgumentIndex()

Returns

Format[]

Format

GetLocale()

public Locale GetLocale()

Returns

Locale

Locale

GetULocale()

public ULocale GetULocale()

Returns

ULocale

ULocale

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

ParseToMap(String)

public Map<String, object> ParseToMap(String arg0)

Parameters

arg0 String

String

Returns

Map<String, object>

Map

Exceptions

ParseException

ParseToMap(String, ParsePosition)

public Map<String, object> ParseToMap(String arg0, ParsePosition arg1)

Parameters

arg0 String

String

arg1 ParsePosition

ParsePosition

Returns

Map<String, object>

Map

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

SetFormatByArgumentName(String, Format)

public void SetFormatByArgumentName(String arg0, Format arg1)

Parameters

arg0 String

String

arg1 Format

Format

SetFormats(Format[])

public void SetFormats(Format[] arg0)

Parameters

arg0 Format[]

Format

SetFormatsByArgumentIndex(Format[])

public void SetFormatsByArgumentIndex(Format[] arg0)

Parameters

arg0 Format[]

Format

SetFormatsByArgumentName(Map<String, Format>)

public void SetFormatsByArgumentName(Map<String, Format> arg0)

Parameters

arg0 Map<String, Format>

Map

SetLocale(ULocale)

public void SetLocale(ULocale arg0)

Parameters

arg0 ULocale

ULocale

SetLocale(Locale)

public void SetLocale(Locale arg0)

Parameters

arg0 Locale

Locale

ToPattern()

public String ToPattern()

Returns

String

String

UsesNamedArguments()

public bool UsesNamedArguments()

Returns

bool

bool