Table of Contents

Class CharsetEncoder

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

CharsetEncoder()

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

[Obsolete("CharsetEncoder 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 CharsetEncoder()

CharsetEncoder(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("CharsetEncoder 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 CharsetEncoder(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

AverageBytesPerChar()

public float AverageBytesPerChar()

Returns

float

float

CanEncode(CharSequence)

public bool CanEncode(CharSequence arg0)

Parameters

arg0 CharSequence

CharSequence

Returns

bool

bool

CanEncode(char)

public bool CanEncode(char arg0)

Parameters

arg0 char

char

Returns

bool

bool

Charset()

public Charset Charset()

Returns

Charset

Charset

Encode(CharBuffer)

public ByteBuffer Encode(CharBuffer arg0)

Parameters

arg0 CharBuffer

CharBuffer

Returns

ByteBuffer

ByteBuffer

Exceptions

CharacterCodingException

Encode(CharBuffer, ByteBuffer, bool)

public CoderResult Encode(CharBuffer arg0, ByteBuffer arg1, bool arg2)

Parameters

arg0 CharBuffer

CharBuffer

arg1 ByteBuffer

ByteBuffer

arg2 bool

bool

Returns

CoderResult

CoderResult

Flush(ByteBuffer)

public CoderResult Flush(ByteBuffer arg0)

Parameters

arg0 ByteBuffer

ByteBuffer

Returns

CoderResult

CoderResult

IsLegalReplacement(byte[])

public bool IsLegalReplacement(byte[] arg0)

Parameters

arg0 byte[]

byte

Returns

bool

bool

MalformedInputAction()

public CodingErrorAction MalformedInputAction()

Returns

CodingErrorAction

CodingErrorAction

MaxBytesPerChar()

public float MaxBytesPerChar()

Returns

float

float

OnMalformedInput(CodingErrorAction)

public CharsetEncoder OnMalformedInput(CodingErrorAction arg0)

Parameters

arg0 CodingErrorAction

CodingErrorAction

Returns

CharsetEncoder

CharsetEncoder

OnUnmappableCharacter(CodingErrorAction)

public CharsetEncoder OnUnmappableCharacter(CodingErrorAction arg0)

Parameters

arg0 CodingErrorAction

CodingErrorAction

Returns

CharsetEncoder

CharsetEncoder

ReplaceWith(byte[])

public CharsetEncoder ReplaceWith(byte[] arg0)

Parameters

arg0 byte[]

byte

Returns

CharsetEncoder

CharsetEncoder

Replacement()

public byte[] Replacement()

Returns

byte[]

byte

Reset()

public CharsetEncoder Reset()

Returns

CharsetEncoder

CharsetEncoder

UnmappableCharacterAction()

public CodingErrorAction UnmappableCharacterAction()

Returns

CodingErrorAction

CodingErrorAction