Class XConstants


  • public final class XConstants
    extends java.lang.Object
    Author:
    ubaldino
    • Constructor Summary

      Constructors 
      Constructor Description
      XConstants()  
    • Method Summary

      Modifier and Type Method Description
      static java.lang.String get_CCE_family​(int id)
      Get the CCE family for the given XConstants enum id
      static int get_CCE_family​(java.lang.String nm)
      Get the CCE family for the given string/key
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DMS_FILTERS_ON

        public static final int DMS_FILTERS_ON
        RUNTIME FLAGS: filter DMS coordinates
        See Also:
        Constant Field Values
      • DD_FILTERS_ON

        public static final int DD_FILTERS_ON
        RUNTIME FLAGS: filter Decimal Degree coordinates -- primarily for bare floating point numbers w/out hemisphere or other symbols
        See Also:
        Constant Field Values
      • MGRS_FILTERS_ON

        public static final int MGRS_FILTERS_ON
        RUNTIME FLAGS: filter MGRS coordinates -- date patterns and NUM PER NUM patterns e.g., the ratio "4 per 4000" is not MGRS
        See Also:
        Constant Field Values
      • CONTEXT_FILTERS_ON

        public static final int CONTEXT_FILTERS_ON
        RUNTIME FLAGS: filter out coordinate matches that appear embedded in other text, e.g., ABC45.44,77.1W
        See Also:
        Constant Field Values
      • FLAG_ALL_FILTERS

        public static final int FLAG_ALL_FILTERS
        RUNTIME FLAGS: filter all coordinate patterns that have filters
        See Also:
        Constant Field Values
      • FLAG_EXTRACT_CONTEXT

        public static final int FLAG_EXTRACT_CONTEXT
        RUNTIME FLAGS: extract context or not
        See Also:
        Constant Field Values
      • familyInt

        public static final java.util.Map<java.lang.String,​java.lang.Integer> familyInt
      • familyLabel

        public static final java.util.Map<java.lang.Integer,​java.lang.String> familyLabel
    • Constructor Detail

      • XConstants

        public XConstants()
    • Method Detail

      • get_CCE_family

        public static int get_CCE_family​(java.lang.String nm)
        Get the CCE family for the given string/key
        Parameters:
        nm -
        Returns:
      • get_CCE_family

        public static java.lang.String get_CCE_family​(int id)
        Get the CCE family for the given XConstants enum id
        Parameters:
        id -
        Returns: