Package armyc2.c5isr.renderer.utilities
Class GENCLookup
- java.lang.Object
-
- armyc2.c5isr.renderer.utilities.GENCLookup
-
public class GENCLookup extends java.lang.ObjectUtility class that takes the 3 digit country code from the symbol ID and returns the 3 character string representation of that country. For example, 840 turns into "USA" for the United States.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringget3CharCode(int id)java.lang.Stringget3DigitCode(java.lang.String id)static GENCLookupgetInstance()
-
-
-
Method Detail
-
getInstance
public static GENCLookup getInstance()
-
get3CharCode
public java.lang.String get3CharCode(int id)
- Parameters:
id- 3 digit code from 2525D+ symbol code- Returns:
-
get3DigitCode
public java.lang.String get3DigitCode(java.lang.String id)
- Parameters:
id- 2 char string from 2525C symbol code- Returns:
-
-