Class MessageFormat
public class MessageFormat : UFormat, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable, ICloneable
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Format>MessageFormat
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Format>.IsAssignableFrom(IJavaType)JVMBridgeBase<Format>.IsAssignableFrom<T>()JVMBridgeBase<Format>.Execute<T>(params T[])JVMBridgeBase<Format>.DynBridgeClazzJVMBridgeBase<Format>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.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
MessageFormat(String, ULocale)
public MessageFormat(String arg0, ULocale arg1)
Parameters
MessageFormat(String, Locale)
public MessageFormat(String arg0, Locale arg1)
Parameters
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
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Methods
ApplyPattern(String)
public void ApplyPattern(String arg0)
Parameters
ApplyPattern(String, ApostropheMode)
public void ApplyPattern(String arg0, MessagePattern.ApostropheMode arg1)
Parameters
AutoQuoteApostrophe(String)
public static String AutoQuoteApostrophe(String arg0)
Parameters
Returns
Format(String, Map<String, object>)
public static String Format(String arg0, Map<String, object> arg1)
Parameters
Returns
Format(String, params object[])
public static String Format(String arg0, params object[] arg1)
Parameters
Returns
Format(Map<String, object>, StringBuffer, FieldPosition)
public StringBuffer Format(Map<String, object> arg0, StringBuffer arg1, FieldPosition arg2)
Parameters
arg0
Map<String, object>arg1
StringBufferarg2
FieldPosition
Returns
Format(object[], StringBuffer, FieldPosition)
public StringBuffer Format(object[] arg0, StringBuffer arg1, FieldPosition arg2)
Parameters
arg0
object[]arg1
StringBufferarg2
FieldPosition
Returns
GetApostropheMode()
public MessagePattern.ApostropheMode GetApostropheMode()
Returns
GetArgumentNames()
public Set<String> GetArgumentNames()
Returns
GetFormatByArgumentName(String)
public Format GetFormatByArgumentName(String arg0)
Parameters
Returns
GetFormats()
public Format[] GetFormats()
Returns
GetFormatsByArgumentIndex()
public Format[] GetFormatsByArgumentIndex()
Returns
GetLocale()
public Locale GetLocale()
Returns
GetULocale()
public ULocale GetULocale()
Returns
Parse(String)
public object[] Parse(String arg0)
Parameters
Returns
Exceptions
Parse(String, ParsePosition)
public object[] Parse(String arg0, ParsePosition arg1)
Parameters
arg0
Stringarg1
ParsePosition
Returns
ParseToMap(String)
public Map<String, object> ParseToMap(String arg0)
Parameters
Returns
Exceptions
ParseToMap(String, ParsePosition)
public Map<String, object> ParseToMap(String arg0, ParsePosition arg1)
Parameters
arg0
Stringarg1
ParsePosition
Returns
SetFormat(int, Format)
public void SetFormat(int arg0, Format arg1)
Parameters
SetFormatByArgumentIndex(int, Format)
public void SetFormatByArgumentIndex(int arg0, Format arg1)
Parameters
SetFormatByArgumentName(String, Format)
public void SetFormatByArgumentName(String arg0, Format arg1)
Parameters
SetFormats(Format[])
public void SetFormats(Format[] arg0)
Parameters
SetFormatsByArgumentIndex(Format[])
public void SetFormatsByArgumentIndex(Format[] arg0)
Parameters
SetFormatsByArgumentName(Map<String, Format>)
public void SetFormatsByArgumentName(Map<String, Format> arg0)
Parameters
SetLocale(ULocale)
public void SetLocale(ULocale arg0)
Parameters
SetLocale(Locale)
public void SetLocale(Locale arg0)
Parameters
ToPattern()
public String ToPattern()
Returns
UsesNamedArguments()
public bool UsesNamedArguments()