Package org.orekit.files.sp3
Enum SP3FileType
- java.lang.Object
-
- java.lang.Enum<SP3FileType>
-
- org.orekit.files.sp3.SP3FileType
-
- All Implemented Interfaces:
Serializable
,Comparable<SP3FileType>
public enum SP3FileType extends Enum<SP3FileType>
File type indicator.- Since:
- 12.0
- Author:
- Thomas Neidhart, Evan Ward, Luc Maisonobe
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getKey()
Get the key for the file type.static SP3FileType
parse(String s)
Parse the string to get the data used.static SP3FileType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SP3FileType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GPS
public static final SP3FileType GPS
GPS only file.
-
MIXED
public static final SP3FileType MIXED
Mixed file.
-
GLONASS
public static final SP3FileType GLONASS
GLONASS only file.
-
LEO
public static final SP3FileType LEO
LEO only file.
-
GALILEO
public static final SP3FileType GALILEO
Galileo only file.
-
SBAS
public static final SP3FileType SBAS
SBAS only file.
-
IRNSS
public static final SP3FileType IRNSS
IRNSS only file.
-
COMPASS
public static final SP3FileType COMPASS
COMPASS only file.
-
QZSS
public static final SP3FileType QZSS
QZSS only file.
-
UNDEFINED
public static final SP3FileType UNDEFINED
undefined file format.
-
-
Method Detail
-
values
public static SP3FileType[] 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 (SP3FileType c : SP3FileType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SP3FileType 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
-
getKey
public String getKey()
Get the key for the file type.- Returns:
- key for the file type
-
parse
public static SP3FileType parse(String s)
Parse the string to get the data used.- Parameters:
s
- string to parse- Returns:
- the file type corresponding to the string
-
-