Enum Class CodePage

java.lang.Object
java.lang.Enum<CodePage>
jp.co.sanei_elec.printerlibrary.api.CodePage
All Implemented Interfaces:
Serializable, Comparable<CodePage>, Constable

public enum CodePage extends Enum<CodePage>
Character code page
  • Enum Constant Details

    • PC437

      public static final CodePage PC437
    • Katakana

      public static final CodePage Katakana
    • PC850

      public static final CodePage PC850
    • PC852

      public static final CodePage PC852
    • PC857

      public static final CodePage PC857
    • PC858

      public static final CodePage PC858
    • PC863

      public static final CodePage PC863
    • PC865

      public static final CodePage PC865
    • PC866

      public static final CodePage PC866
    • WPC1252

      public static final CodePage WPC1252
    • PC860

      public static final CodePage PC860
    • WPC1252_2

      public static final CodePage WPC1252_2
    • PC862

      public static final CodePage PC862
    • WPC1254

      public static final CodePage WPC1254
    • WPC1250

      public static final CodePage WPC1250
    • WPC1251

      public static final CodePage WPC1251
    • PC864

      public static final CodePage PC864
    • PC737

      public static final CodePage PC737
    • PC1253

      public static final CodePage PC1253
  • Field Details

    • value

      public final int value
      Code page value.
  • Method Details

    • values

      public static CodePage[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CodePage valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null