Package org.orekit.gnss.metric.ntrip
Enum DataFormat
- java.lang.Object
-
- java.lang.Enum<DataFormat>
-
- org.orekit.gnss.metric.ntrip.DataFormat
-
- All Implemented Interfaces:
Serializable
,Comparable<DataFormat>
public enum DataFormat extends Enum<DataFormat>
Enumerate for data format inDataStreamRecord
.- Since:
- 11.0
- Author:
- Luc Maisonobe
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataFormat
getDataFormat(String keyword)
Get the message type corresponding to a keyword.static DataFormat
valueOf(String name)
Returns the enum constant of this type with the specified name.static DataFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RTCM_2
public static final DataFormat RTCM_2
RTCM 2.x.
-
RTCM_3
public static final DataFormat RTCM_3
RTCM 3.x.
-
RTCM_SAPOS
public static final DataFormat RTCM_SAPOS
RTCM SAPOS.
-
CMR
public static final DataFormat CMR
CMR.
-
CMR_PLUS
public static final DataFormat CMR_PLUS
CMR+.
-
SAPOS_ADV
public static final DataFormat SAPOS_ADV
SAPOS-AdV.
-
RTCA
public static final DataFormat RTCA
RTCA.
-
RAW
public static final DataFormat RAW
RAW.
-
RINEX
public static final DataFormat RINEX
RINEX.
-
SP3
public static final DataFormat SP3
SP3.
-
BINEX
public static final DataFormat BINEX
BINEX.
-
-
Method Detail
-
values
public static DataFormat[] 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 (DataFormat c : DataFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataFormat 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
-
getDataFormat
public static DataFormat getDataFormat(String keyword)
Get the message type corresponding to a keyword.- Parameters:
keyword
- data format keyword- Returns:
- the message type corresponding to the keyword
-
-