Enum CommonLabel

    • Enum Constant Detail

      • VERSION

        public static final CommonLabel VERSION
        Version, file type and satellite system.
      • PROGRAM

        public static final CommonLabel PROGRAM
        Generating program and emiting agency.
      • COMMENT

        public static final CommonLabel COMMENT
        Comments.
      • LICENSE

        public static final CommonLabel LICENSE
        Llicense.
      • STATION_INFORMATION

        public static final CommonLabel STATION_INFORMATION
        Station information.
      • SYS_NB_TYPES_OF_OBSERV

        public static final CommonLabel SYS_NB_TYPES_OF_OBSERV
        Number and types of observations.
      • SYS_DCBS_APPLIED

        public static final CommonLabel SYS_DCBS_APPLIED
        Differential code bias corrections.
      • SYS_PCVS_APPLIED

        public static final CommonLabel SYS_PCVS_APPLIED
        Phase center variations corrections.
      • LEAP_SECONDS

        public static final CommonLabel LEAP_SECONDS
        Leap seconds separating UTC and TAI.
      • END

        public static final CommonLabel END
        End of header.
    • Method Detail

      • values

        public static CommonLabel[] 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 (CommonLabel c : CommonLabel.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CommonLabel 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 name
        NullPointerException - if the argument is null
      • matches

        public boolean matches​(String label)
        Check if label matches.
        Specified by:
        matches in interface Label
        Parameters:
        label - label foun in a header line to check
        Returns:
        true if label matches the instance
      • getLabel

        public String getLabel()
        Get the first label.
        Specified by:
        getLabel in interface Label
        Returns:
        first label