Package org.orekit.files.ccsds
Enum TDMParser.TDMFileFormat
- java.lang.Object
-
- java.lang.Enum<TDMParser.TDMFileFormat>
-
- org.orekit.files.ccsds.TDMParser.TDMFileFormat
-
- All Implemented Interfaces:
Serializable
,Comparable<TDMParser.TDMFileFormat>
- Enclosing class:
- TDMParser
public static enum TDMParser.TDMFileFormat extends Enum<TDMParser.TDMFileFormat>
Enumerate for the format.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TDMParser.TDMFileFormat
valueOf(String name)
Returns the enum constant of this type with the specified name.static TDMParser.TDMFileFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
KEYVALUE
public static final TDMParser.TDMFileFormat KEYVALUE
Keyvalue (text file with Key = Value lines).
-
XML
public static final TDMParser.TDMFileFormat XML
XML format.
-
UNKNOWN
public static final TDMParser.TDMFileFormat UNKNOWN
UKNOWN file format, default format, throw an Orekit Exception if kept this way.
-
-
Method Detail
-
values
public static TDMParser.TDMFileFormat[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TDMParser.TDMFileFormat c : TDMParser.TDMFileFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TDMParser.TDMFileFormat 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 nameNullPointerException
- if the argument is null
-
-