Table of Contents

Class Formatter

Namespace
Java.Util
Assembly
MASES.JNet.dll
public class Formatter : JVMBridgeBase<Formatter>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<Formatter>
Formatter
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Formatter>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Formatter>.IsAssignableFrom<T>()
JVMBridgeBase<Formatter>.Execute<T>(params T[])
JVMBridgeBase<Formatter>.DynBridgeClazz
JVMBridgeBase<Formatter>.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

Formatter()

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

public Formatter()

Formatter(File)

public Formatter(File arg0)

Parameters

arg0 File

File

Exceptions

FileNotFoundException

Formatter(File, String)

public Formatter(File arg0, String arg1)

Parameters

arg0 File

File

arg1 String

String

Exceptions

FileNotFoundException
UnsupportedEncodingException

Formatter(File, String, Locale)

public Formatter(File arg0, String arg1, Locale arg2)

Parameters

arg0 File

File

arg1 String

String

arg2 Locale

Locale

Exceptions

FileNotFoundException
UnsupportedEncodingException

Formatter(File, Charset, Locale)

public Formatter(File arg0, Charset arg1, Locale arg2)

Parameters

arg0 File

File

arg1 Charset

Charset

arg2 Locale

Locale

Exceptions

IOException

Formatter(OutputStream)

public Formatter(OutputStream arg0)

Parameters

arg0 OutputStream

OutputStream

Formatter(OutputStream, String)

public Formatter(OutputStream arg0, String arg1)

Parameters

arg0 OutputStream

OutputStream

arg1 String

String

Exceptions

UnsupportedEncodingException

Formatter(OutputStream, String, Locale)

public Formatter(OutputStream arg0, String arg1, Locale arg2)

Parameters

arg0 OutputStream

OutputStream

arg1 String

String

arg2 Locale

Locale

Exceptions

UnsupportedEncodingException

Formatter(OutputStream, Charset, Locale)

public Formatter(OutputStream arg0, Charset arg1, Locale arg2)

Parameters

arg0 OutputStream

OutputStream

arg1 Charset

Charset

arg2 Locale

Locale

Formatter(PrintStream)

public Formatter(PrintStream arg0)

Parameters

arg0 PrintStream

PrintStream

Formatter(Appendable)

public Formatter(Appendable arg0)

Parameters

arg0 Appendable

Appendable

Formatter(Appendable, Locale)

public Formatter(Appendable arg0, Locale arg1)

Parameters

arg0 Appendable

Appendable

arg1 Locale

Locale

Formatter(String)

public Formatter(String arg0)

Parameters

arg0 String

String

Exceptions

FileNotFoundException

Formatter(String, String)

public Formatter(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Exceptions

FileNotFoundException
UnsupportedEncodingException

Formatter(String, String, Locale)

public Formatter(String arg0, String arg1, Locale arg2)

Parameters

arg0 String

String

arg1 String

String

arg2 Locale

Locale

Exceptions

FileNotFoundException
UnsupportedEncodingException

Formatter(String, Charset, Locale)

public Formatter(String arg0, Charset arg1, Locale arg2)

Parameters

arg0 String

String

arg1 Charset

Charset

arg2 Locale

Locale

Exceptions

IOException

Formatter(Locale)

public Formatter(Locale arg0)

Parameters

arg0 Locale

Locale

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

Close()

public void Close()

Flush()

public void Flush()

Format(String, params object[])

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

Parameters

arg0 String

String

arg1 object[]

object

Returns

Formatter

Formatter

Format(Locale, String, params object[])

public Formatter Format(Locale arg0, String arg1, params object[] arg2)

Parameters

arg0 Locale

Locale

arg1 String

String

arg2 object[]

object

Returns

Formatter

Formatter

IoException()

public IOException IoException()

Returns

IOException

IOException

Locale()

public Locale Locale()

Returns

Locale

Locale

Out()

public Appendable Out()

Returns

Appendable

Appendable

Operators

implicit operator Closeable(Formatter)

Converter from Formatter to Closeable

public static implicit operator Closeable(Formatter t)

Parameters

t Formatter

Returns

Closeable

implicit operator Flushable(Formatter)

Converter from Formatter to Flushable

public static implicit operator Flushable(Formatter t)

Parameters

t Formatter

Returns

Flushable