Package armyc2.c5isr.renderer.utilities
Class C2DLookup
- java.lang.Object
-
- armyc2.c5isr.renderer.utilities.C2DLookup
-
public class C2DLookup extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDCode(java.lang.String symbolID)Take a complete 15 character 2525C symbol code and converts it to 2525D if there is a match.java.lang.StringgetDCode(java.lang.String symbolID, boolean includeCountryCode)Take a complete 15 character 2525C symbol code and converts it to 2525D if there is a match.static C2DLookupgetInstance()
-
-
-
Method Detail
-
getInstance
public static C2DLookup getInstance()
-
getDCode
public java.lang.String getDCode(java.lang.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 java.lang.String getDCode(java.lang.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.
-
-