Table of Contents

Class MessageFormat

Namespace
Android.Icu.Text
Assembly
MASES.Netdroid.dll
public class MessageFormat : UFormat, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, ISerializable, ICloneable
Inheritance
MessageFormat
Implements
Inherited Members
Extension Methods

Constructors

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(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public MessageFormat(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

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

CreatePoolableInstance(String)

HPA initializer for MessageFormat(Java.Lang.String arg0)

public static MessageFormat CreatePoolableInstance(String arg0)

Parameters

arg0 String

Returns

MessageFormat

CreatePoolableInstance(String, ULocale)

HPA initializer for MessageFormat(Java.Lang.String arg0, Android.Icu.Util.ULocale arg1)

public static MessageFormat CreatePoolableInstance(String arg0, ULocale arg1)

Parameters

arg0 String
arg1 ULocale

Returns

MessageFormat

CreatePoolableInstance(String, Locale)

HPA initializer for MessageFormat(Java.Lang.String arg0, Java.Util.Locale arg1)

public static MessageFormat CreatePoolableInstance(String arg0, Locale arg1)

Parameters

arg0 String
arg1 Locale

Returns

MessageFormat

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