Class MessageFormat
public class MessageFormat : Format, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- 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, 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
Formats
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/text/MessageFormat.html#getFormats() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/text/MessageFormat.html#setFormats(java.text.Format[])
public Format[] Formats { get; set; }
Property Value
- Format[]
FormatsByArgumentIndex
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/text/MessageFormat.html#getFormatsByArgumentIndex() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/text/MessageFormat.html#setFormatsByArgumentIndex(java.text.Format[])
public Format[] FormatsByArgumentIndex { get; set; }
Property Value
- Format[]
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
Locale
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/text/MessageFormat.html#getLocale() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/text/MessageFormat.html#setLocale(java.util.Locale)
public Locale Locale { get; set; }
Property Value
Methods
ApplyPattern(String)
public void ApplyPattern(String arg0)
Parameters
Format(String, params object[])
public static String Format(String arg0, params object[] arg1)
Parameters
Returns
Format(object[], StringBuffer, FieldPosition)
public StringBuffer Format(object[] arg0, StringBuffer arg1, FieldPosition arg2)
Parameters
arg0
object[]arg1
StringBufferarg2
FieldPosition
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
SetFormat(int, Format)
public void SetFormat(int arg0, Format arg1)
Parameters
SetFormatByArgumentIndex(int, Format)
public void SetFormatByArgumentIndex(int arg0, Format arg1)
Parameters
ToPattern()
public String ToPattern()