Class Charset
public class Charset : Comparable<Charset>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IComparable<Charset>
- Inheritance
-
JVMBridgeBaseCharset
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Comparable<Charset>>.SExecuteWithSignature(IJavaType, string, string, params object[])JVMBridgeBase<Comparable<Charset>>.SExecute<TNewClass, TReturn, TConverter>(string, params object[])JVMBridgeBase<Comparable<Charset>>.IsAssignableFrom(IJavaType)JVMBridgeBase<Comparable<Charset>>.IsAssignableFrom<T>()JVMBridgeBase<Comparable<Charset>>.Execute<T>(params T[])JVMBridgeBase<Comparable<Charset>>.DynBridgeClazzJVMBridgeBase<Comparable<Charset>>.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
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
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
Aliases()
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/charset/Charset.html#aliases()
public Set<String> Aliases()
Returns
AvailableCharsets()
public static SortedMap<String, Charset> AvailableCharsets()
Returns
CanEncode()
public bool CanEncode()
Returns
CompareTo(Charset)
public int CompareTo(Charset arg0)
Parameters
Returns
CompareTo(object)
public int CompareTo(object arg0)
Parameters
Returns
Contains(Charset)
public bool Contains(Charset arg0)
Parameters
Returns
Decode(ByteBuffer)
public CharBuffer Decode(ByteBuffer arg0)
Parameters
arg0
ByteBuffer
Returns
DefaultCharset()
public static Charset DefaultCharset()
Returns
DisplayName()
public String DisplayName()
Returns
DisplayName(Locale)
public String DisplayName(Locale arg0)
Parameters
Returns
Encode(String)
public ByteBuffer Encode(String arg0)
Parameters
Returns
Encode(CharBuffer)
public ByteBuffer Encode(CharBuffer arg0)
Parameters
arg0
CharBuffer
Returns
ForName(String)
public static Charset ForName(String arg0)
Parameters
Returns
IsRegistered()
public bool IsRegistered()
Returns
IsSupported(String)
public static bool IsSupported(String arg0)
Parameters
Returns
Name()
public String Name()
Returns
NewDecoder()
public CharsetDecoder NewDecoder()
Returns
NewEncoder()
public CharsetEncoder NewEncoder()