Module java.base
Package java.nio.charset

# Class Charset

=
public abstract class Charset
extends java.lang.Object
implements java.lang.Comparable<java.nio.charset.Charset>

## Constructors

- =
  protected Charset(java.lang.String arg0, java.lang.String[] arg1)

## Methods

- =
  public final java.util.Set<java.lang.String> aliases()
- =
  public static java.util.SortedMap<java.lang.String, java.nio.charset.Charset> availableCharsets()
- =
  public boolean canEncode()
- =
  public final int compareTo(java.nio.charset.Charset arg0)
- =
  public abstract boolean contains(java.nio.charset.Charset arg0)
- =
  public final java.nio.CharBuffer decode(java.nio.ByteBuffer arg0)
- =
  public static java.nio.charset.Charset defaultCharset()
- =
  public java.lang.String displayName()
- =
  public java.lang.String displayName(java.util.Locale arg0)
- =
  public final java.nio.ByteBuffer encode(java.lang.String arg0)
- =
  public final java.nio.ByteBuffer encode(java.nio.CharBuffer arg0)
- =
  public final boolean equals(java.lang.Object arg0)
- =
  public static java.nio.charset.Charset forName(java.lang.String arg0)
- =
  public static java.nio.charset.Charset forName(java.lang.String arg0, java.nio.charset.Charset arg1)
- =
  public final int hashCode()
- =
  public final boolean isRegistered()
- =
  public static boolean isSupported(java.lang.String arg0)
- =
  public final java.lang.String name()
- =
  public abstract java.nio.charset.CharsetDecoder newDecoder()
- =
  public abstract java.nio.charset.CharsetEncoder newEncoder()
- =
  public final java.lang.String toString()

## Summary

No differences.