Klasse Charsets

java.lang.Object
org.deidentifier.arx.gui.resources.Charsets

public class Charsets extends Object
A class for managing charsets. In comparison to the class Charset provided by the Java libraries, this class restricts the set of available charset to the most common ones (ordered by frequency of use) and it provides consistent and beautified labels.
  • Konstruktordetails

    • Charsets

      public Charsets()
  • Methodendetails

    • getCharsetForName

      public static Charset getCharsetForName(String name)
      Returns a charset for the given name
      Parameter:
      name -
      Gibt zurück:
    • getNameOfDefaultCharset

      public static String getNameOfDefaultCharset()
      Returns the system's default charset
      Gibt zurück:
    • getNamesOfAvailableCharsets

      public static String[] getNamesOfAvailableCharsets()
      Returns a list of available charsets. The list is restricted to the most common charsets.
      Gibt zurück: