Class CharsetEncoder
public class CharsetEncoder : JVMBridgeBase<CharsetEncoder>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<CharsetEncoder>CharsetEncoder
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<CharsetEncoder>.IsAssignableFrom(IJavaType)JVMBridgeBase<CharsetEncoder>.IsAssignableFrom<T>()JVMBridgeBase<CharsetEncoder>.Execute<T>(params T[])JVMBridgeBase<CharsetEncoder>.DynBridgeClazzJVMBridgeBase<CharsetEncoder>.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
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
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
AverageBytesPerChar()
public float AverageBytesPerChar()
Returns
CanEncode(CharSequence)
public bool CanEncode(CharSequence arg0)
Parameters
arg0
CharSequence
Returns
CanEncode(char)
public bool CanEncode(char arg0)
Parameters
Returns
Charset()
public Charset Charset()
Returns
Encode(CharBuffer)
public ByteBuffer Encode(CharBuffer arg0)
Parameters
arg0
CharBuffer
Returns
Exceptions
Encode(CharBuffer, ByteBuffer, bool)
public CoderResult Encode(CharBuffer arg0, ByteBuffer arg1, bool arg2)
Parameters
arg0
CharBufferarg1
ByteBufferarg2
bool
Returns
Flush(ByteBuffer)
public CoderResult Flush(ByteBuffer arg0)
Parameters
arg0
ByteBuffer
Returns
IsLegalReplacement(byte[])
public bool IsLegalReplacement(byte[] arg0)
Parameters
Returns
MalformedInputAction()
public CodingErrorAction MalformedInputAction()
Returns
MaxBytesPerChar()
public float MaxBytesPerChar()
Returns
OnMalformedInput(CodingErrorAction)
public CharsetEncoder OnMalformedInput(CodingErrorAction arg0)
Parameters
Returns
OnUnmappableCharacter(CodingErrorAction)
public CharsetEncoder OnUnmappableCharacter(CodingErrorAction arg0)
Parameters
Returns
ReplaceWith(byte[])
public CharsetEncoder ReplaceWith(byte[] arg0)
Parameters
Returns
Replacement()
public byte[] Replacement()
Returns
Reset()
public CharsetEncoder Reset()
Returns
UnmappableCharacterAction()
public CodingErrorAction UnmappableCharacterAction()