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

Enum Class QrcodeImage.ErrCrct

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

public static enum QrcodeImage.ErrCrct extends Enum<QrcodeImage.ErrCrct>
エラー訂正レベル ('L','M','Q','H')
  • 列挙型定数の詳細

  • フィールド詳細

  • メソッドの詳細

    • values

      public static QrcodeImage.ErrCrct[] 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.ErrCrct 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()
      番号を取得します。
      戻り値:
      番号
    • getCh

      public char getCh()
      チャネルを取得します。
      戻り値:
      チャネルキャラクタ
      変更履歴:
      7.2.1.0 (2020/03/13) QrcodeImage 見直し。
    • get

      public static QrcodeImage.ErrCrct get(char ch)
      チャネルに応じたエラー訂正を取得します。
      パラメータ:
      ch - チャネルキャラクタ
      戻り値:
      エラー訂正
      変更履歴:
      7.2.1.0 (2020/03/13) QrcodeImage 見直し。