Table of Contents

Class Charset

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

Charset()

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

[Obsolete("Charset class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Charset()

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

[Obsolete("Charset class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Charset(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

Aliases()

public Set<String> Aliases()

Returns

Set<String>

Set

AvailableCharsets()

public static SortedMap<String, Charset> AvailableCharsets()

Returns

SortedMap<String, Charset>

SortedMap

CanEncode()

public bool CanEncode()

Returns

bool

bool

CompareTo(Charset)

public int CompareTo(Charset arg0)

Parameters

arg0 Charset

Charset

Returns

int

int

CompareTo(object)

public int CompareTo(object arg0)

Parameters

arg0 object

object

Returns

int

int

Contains(Charset)

public bool Contains(Charset arg0)

Parameters

arg0 Charset

Charset

Returns

bool

bool

Decode(ByteBuffer)

public CharBuffer Decode(ByteBuffer arg0)

Parameters

arg0 ByteBuffer

ByteBuffer

Returns

CharBuffer

CharBuffer

DefaultCharset()

public static Charset DefaultCharset()

Returns

Charset

Charset

DisplayName()

public String DisplayName()

Returns

String

String

DisplayName(Locale)

public String DisplayName(Locale arg0)

Parameters

arg0 Locale

Locale

Returns

String

String

Encode(String)

public ByteBuffer Encode(String arg0)

Parameters

arg0 String

String

Returns

ByteBuffer

ByteBuffer

Encode(CharBuffer)

public ByteBuffer Encode(CharBuffer arg0)

Parameters

arg0 CharBuffer

CharBuffer

Returns

ByteBuffer

ByteBuffer

ForName(String)

public static Charset ForName(String arg0)

Parameters

arg0 String

String

Returns

Charset

Charset

IsRegistered()

public bool IsRegistered()

Returns

bool

bool

IsSupported(String)

public static bool IsSupported(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

Name()

public String Name()

Returns

String

String

NewDecoder()

public CharsetDecoder NewDecoder()

Returns

CharsetDecoder

CharsetDecoder

NewEncoder()

public CharsetEncoder NewEncoder()

Returns

CharsetEncoder

CharsetEncoder