Package org.eclipse.keyple.plugin.pcsc
Enum Class PcscReader.IsoProtocol
- All Implemented Interfaces:
Serializable
,Comparable<PcscReader.IsoProtocol>
,Constable
- Enclosing interface:
- PcscReader
Available transmission protocols as defined by the PC/SC standard.
- Since:
- 2.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetValue()
Gets the string expected by smartcard.io / PC/SC to set the card transmission protocol.static PcscReader.IsoProtocol
Returns the enum constant of this class with the specified name.static PcscReader.IsoProtocol[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ANY
to connect using any available protocol- Since:
- 2.0.0
-
T0
to connect using T=0 protocol- Since:
- 2.0.0
-
T1
to connect using T=1 protocol- Since:
- 2.0.0
-
TCL
to connect using T=CL protocol- Since:
- 2.0.0
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getValue
Gets the string expected by smartcard.io / PC/SC to set the card transmission protocol.- Returns:
- A not empty string.
- Since:
- 2.0.0
-