Package org.orekit.files.rinex.utils
Enum RinexFileType
- java.lang.Object
-
- java.lang.Enum<RinexFileType>
-
- org.orekit.files.rinex.utils.RinexFileType
-
- All Implemented Interfaces:
Serializable
,Comparable<RinexFileType>
public enum RinexFileType extends Enum<RinexFileType>
Enumerate for RINEX files types.- Since:
- 12.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NAVIGATION
Rinex navigation (G is for Glonass navigation, in Rinex 2.X).OBSERVATION
Rinex Observation.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RinexFileType
parseRinexFileType(String s)
Parse the string to get the type.static RinexFileType
valueOf(String name)
Returns the enum constant of this type with the specified name.static RinexFileType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OBSERVATION
public static final RinexFileType OBSERVATION
Rinex Observation.
-
NAVIGATION
public static final RinexFileType NAVIGATION
Rinex navigation (G is for Glonass navigation, in Rinex 2.X).
-
-
Method Detail
-
values
public static RinexFileType[] 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 (RinexFileType c : RinexFileType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RinexFileType 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
-
parseRinexFileType
public static RinexFileType parseRinexFileType(String s)
Parse the string to get the type.- Parameters:
s
- string to parse (must correspond to a one-character key)- Returns:
- the type corresponding to the string
-
-