パッケージ org.opengion.fukurou.util

Enum Class QrcodeImage.EncMode

java.lang.Object
java.lang.Enum<QrcodeImage.EncMode>
org.opengion.fukurou.util.QrcodeImage.EncMode
すべての実装されたインタフェース:
Serializable, Comparable<QrcodeImage.EncMode>, Constable
含まれているクラス:
QrcodeImage

public static enum QrcodeImage.EncMode extends Enum<QrcodeImage.EncMode>
エンコードモード ('N':数字モード 'A':英数字モード 'B':8bit byteモード)
  • ネストされたクラスの概要

    クラスから継承されたネストされたクラス/インタフェース java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • 列挙型定数の概要

    列挙定数
    列挙型定数
    説明
    エンコードモード
    エンコードモード
    エンコードモード
  • フィールドの概要

    フィールド
    修飾子とタイプ
    フィールド
    説明
    static final QrcodeImage.EncMode
    初期エンコードモード
  • メソッドの概要

    修飾子とタイプ
    メソッド
    説明
    get(char ch)
    エンコードモードを指定する文字から、エンコードモード enum を作成します。
    char
    エンコードモードを表す文字 'N':数字モード 'A':英数字モード 'B':8bit byteモード
    int
    エンコードモードの番号を返します。
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    クラスから継承されたメソッド java.lang.Enum

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

    クラスから継承されたメソッド java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • 列挙型定数の詳細

  • フィールド詳細

  • メソッドの詳細

    • values

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

      public static QrcodeImage.EncMode 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.)
      パラメータ:
      name - 返される列挙型定数の名前。
      戻り値:
      指定した名前の列挙型定数
      例外:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 引数がnullの場合
    • getNo

      public int getNo()
      エンコードモードの番号を返します。 'N'=0:数字モード 'A'=1:英数字モード 'B'=1:8bit byteモード
      戻り値:
      エンコードモードの番号
    • getCh

      public char getCh()
      エンコードモードを表す文字 'N':数字モード 'A':英数字モード 'B':8bit byteモード
      戻り値:
      エンコードモードを指定する文字('N':数字モード 'A':英数字モード 'B':8bit byteモード)
    • get

      public static QrcodeImage.EncMode get(char ch)
      エンコードモードを指定する文字から、エンコードモード enum を作成します。 'N':数字モード 'A':英数字モード 'B':8bit byteモード
      パラメータ:
      ch - エンコードモードを指定する文字
      戻り値:
      エンコードモード