Enum SmartCardService.Feature

java.lang.Object
java.lang.Enum<SmartCardService.Feature>
org.kapott.hbci.smartcardio.SmartCardService.Feature
All Implemented Interfaces:
Serializable, Comparable<SmartCardService.Feature>, java.lang.constant.Constable
Enclosing class:
SmartCardService

protected static enum SmartCardService.Feature extends Enum<SmartCardService.Feature>
Kapselt die Features der Karte.
  • Enum Constant Details

  • Field Details

    • number

      private byte number
  • Constructor Details

    • Feature

      private Feature(byte number)
      ct.
      Parameters:
      number - die Feature-Nummer.
  • Method Details

    • values

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

      public static SmartCardService.Feature valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • find

      private static SmartCardService.Feature find(byte b)
      Liefert das Feature mit der angegebenen Feature-Nummer.
      Parameters:
      b - das Byte mit der Feature-Nummer.
      Returns:
      das Feature oder NULL, wenn es nicht existiert.