Enum Class ElementaryFile.Type
- All Implemented Interfaces:
Serializable
,Comparable<ElementaryFile.Type>
,Constable
- Enclosing interface:
- ElementaryFile
The different types of EF.
- Since:
- 1.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA "binary" EF contains a single continuous sequence of data bytes from byte #0 (first byte) to byte #N−1 (last byte, for a "binary" file of N bytes).A Counters EF is made of a single record containing an ordered sequence of K counters of three bytes each, from counter #1 (bytes at offsets 0, 1 and 2 of the record) to counter #K.A "cyclic" EF is made of 1 to several records organized in a cycle, from the most recent (record #1) to the oldest.A "linear" EF is made of 1 to several records.A Simulated "counter" EF is a "linear" file with a single record.
Simulated Counter EFs are present for compatibility with the Calypso Revision 2 access to simulated individual counters. -
Method Summary
Modifier and TypeMethodDescriptionstatic ElementaryFile.Type
Returns the enum constant of this class with the specified name.static ElementaryFile.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LINEAR
A "linear" EF is made of 1 to several records.- Since:
- 1.0.0
-
BINARY
A "binary" EF contains a single continuous sequence of data bytes from byte #0 (first byte) to byte #N−1 (last byte, for a "binary" file of N bytes).- Since:
- 1.0.0
-
CYCLIC
A "cyclic" EF is made of 1 to several records organized in a cycle, from the most recent (record #1) to the oldest.- Since:
- 1.0.0
-
COUNTERS
A Counters EF is made of a single record containing an ordered sequence of K counters of three bytes each, from counter #1 (bytes at offsets 0, 1 and 2 of the record) to counter #K.- Since:
- 1.0.0
-
SIMULATED_COUNTERS
A Simulated "counter" EF is a "linear" file with a single record.
Simulated Counter EFs are present for compatibility with the Calypso Revision 2 access to simulated individual counters.- Since:
- 1.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
-