Enum Class Encoding

java.lang.Object
java.lang.Enum<Encoding>
com.nefrock.edgeocr.Encoding
All Implemented Interfaces:
Serializable, Comparable<Encoding>, Constable

public enum Encoding extends Enum<Encoding>
文字列のエンコーディングを表す列挙型
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    ASCII
    Big5 エンコーディング
    エンコーディングなし(バイナリデータ)
    Windows-1250、中欧で使用されるエンコーディング
    Windows-1251、キリル文字用のエンコーディング
    Windows-1252、北米・南米・西欧・オセアニア・アフリカで使用されるエンコーディング
    Windows-1256、アラビア文字用のエンコーディング
    IBM PC で使用されるエンコーディング
    EUC-JP エンコーディング
    EUC-KR エンコーディング
    GB18030 エンコーディング
    GB2312 エンコーディング
    ラテン文字(Latin-1 西欧)
    ラテン文字(Latin-6 北欧)
    ラテン文字とタイ文字(Latin タイ文字)
    ラテン文字(Latin-7 バルト海)
    ラテン文字(Latin-8 ケルト)
    ラテン文字(Latin-9)
    ラテン文字(Latin-9 南西欧)
    ラテン文字(Latin-2 中欧)
    ラテン文字(Latin-3 南欧)
    ラテン文字(Latin-4 北欧)
    ラテン文字とキリル文字(Latin キリル文字)
    ラテン文字とアラビア文字(Latin アラビア文字)
    ラテン文字とギリシャ文字(Latin ギリシャ文字)
    ラテン文字とヘブライ文字(Latin ヘブライ文字)
    ラテン文字(Latin-5 トルコ)
    Shift-JIS エンコーディング
    不明なエンコーディング、またはエンコーディングが使用されていない
    UTF-16 ビッグエンディアンエンコーディング
    UTF-16 リトルエンディアンエンコーディング
    UTF-32 ビッグエンディアンエンコーディング
    UTF-32 リトルエンディアンエンコーディング
    UTF-8 エンコーディング
  • Method Summary

    Modifier and Type
    Method
    Description
    エンコーディングをCharsetオブジェクトに変換します。 BINARYまたはUnknownの場合は null が返ります。
    static Encoding
    Returns the enum constant of this class with the specified name.
    static Encoding[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Enum

    compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • Unknown

      public static final Encoding Unknown
      不明なエンコーディング、またはエンコーディングが使用されていない
    • ASCII

      public static final Encoding ASCII
      ASCII
    • ISO8859_1

      public static final Encoding ISO8859_1
      ラテン文字(Latin-1 西欧)
    • ISO8859_2

      public static final Encoding ISO8859_2
      ラテン文字(Latin-2 中欧)
    • ISO8859_3

      public static final Encoding ISO8859_3
      ラテン文字(Latin-3 南欧)
    • ISO8859_4

      public static final Encoding ISO8859_4
      ラテン文字(Latin-4 北欧)
    • ISO8859_5

      public static final Encoding ISO8859_5
      ラテン文字とキリル文字(Latin キリル文字)
    • ISO8859_6

      public static final Encoding ISO8859_6
      ラテン文字とアラビア文字(Latin アラビア文字)
    • ISO8859_7

      public static final Encoding ISO8859_7
      ラテン文字とギリシャ文字(Latin ギリシャ文字)
    • ISO8859_8

      public static final Encoding ISO8859_8
      ラテン文字とヘブライ文字(Latin ヘブライ文字)
    • ISO8859_9

      public static final Encoding ISO8859_9
      ラテン文字(Latin-5 トルコ)
    • ISO8859_10

      public static final Encoding ISO8859_10
      ラテン文字(Latin-6 北欧)
    • ISO8859_11

      public static final Encoding ISO8859_11
      ラテン文字とタイ文字(Latin タイ文字)
    • ISO8859_13

      public static final Encoding ISO8859_13
      ラテン文字(Latin-7 バルト海)
    • ISO8859_14

      public static final Encoding ISO8859_14
      ラテン文字(Latin-8 ケルト)
    • ISO8859_15

      public static final Encoding ISO8859_15
      ラテン文字(Latin-9)
    • ISO8859_16

      public static final Encoding ISO8859_16
      ラテン文字(Latin-9 南西欧)
    • Cp437

      public static final Encoding Cp437
      IBM PC で使用されるエンコーディング
    • Cp1250

      public static final Encoding Cp1250
      Windows-1250、中欧で使用されるエンコーディング
    • Cp1251

      public static final Encoding Cp1251
      Windows-1251、キリル文字用のエンコーディング
    • Cp1252

      public static final Encoding Cp1252
      Windows-1252、北米・南米・西欧・オセアニア・アフリカで使用されるエンコーディング
    • Cp1256

      public static final Encoding Cp1256
      Windows-1256、アラビア文字用のエンコーディング
    • Shift_JIS

      public static final Encoding Shift_JIS
      Shift-JIS エンコーディング
    • Big5

      public static final Encoding Big5
      Big5 エンコーディング
    • GB2312

      public static final Encoding GB2312
      GB2312 エンコーディング
    • GB18030

      public static final Encoding GB18030
      GB18030 エンコーディング
    • EUC_JP

      public static final Encoding EUC_JP
      EUC-JP エンコーディング
    • EUC_KR

      public static final Encoding EUC_KR
      EUC-KR エンコーディング
    • UTF16BE

      public static final Encoding UTF16BE
      UTF-16 ビッグエンディアンエンコーディング
    • UTF8

      public static final Encoding UTF8
      UTF-8 エンコーディング
    • UTF16LE

      public static final Encoding UTF16LE
      UTF-16 リトルエンディアンエンコーディング
    • UTF32BE

      public static final Encoding UTF32BE
      UTF-32 ビッグエンディアンエンコーディング
    • UTF32LE

      public static final Encoding UTF32LE
      UTF-32 リトルエンディアンエンコーディング
    • BINARY

      public static final Encoding BINARY
      エンコーディングなし(バイナリデータ)
  • Method Details

    • values

      public static Encoding[] 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 Encoding 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
    • getCharset

      public Charset getCharset()
      エンコーディングをCharsetオブジェクトに変換します。 BINARYまたはUnknownの場合は null が返ります。
      Returns:
      エンコーディングに対応するCharsetオブジェクト