Class C2DLookup

java.lang.Object
armyc2.c5isr.renderer.utilities.C2DLookup

public class C2DLookup extends Object
  • Method Details

    • getInstance

      public static C2DLookup getInstance()
    • init

      public final void init(Context context)
    • getDCode

      public String getDCode(String symbolID)
      Take a complete 15 character 2525C symbol code and converts it to 2525D if there is a match. Returns null if no match.
      Parameters:
      symbolID - 15 character 2525C symbol code.
      Returns:
      30 character 2525D code or null if no matching symbol
    • getDCode

      public String getDCode(String symbolID, boolean includeCountryCode)
      Take a complete 15 character 2525C symbol code and converts it to 2525D if there is a match. Returns null if no match.
      Parameters:
      symbolID - 15 character 2525C symbol code.
      includeCountryCode - 2525C symbols don't display the country label so set to false if you don't want it displayed.
      Returns:
      30 character 2525D code or null if no matching symbol.