public class TLcdMS2525bCode2HierarchyMap extends Object
Modifier and Type | Field and Description |
---|---|
static char |
MASKCHARACTER
Mask character to denote that the character at this position should not be
taken into account.
|
Modifier and Type | Method and Description |
---|---|
String |
getHierarchySignature(String aMS2525bCode)
Returns the hierarchy signature corresponding to the given MIL-STD 2525 code.
|
static TLcdMS2525bCode2HierarchyMap |
getInstance()
Returns the singleton instance of the code to hierarchy signature map, using the default
standard.
|
static TLcdMS2525bCode2HierarchyMap |
getInstance(ELcdMS2525Standard aStandard)
Returns the singleton instance of the code to hierarchy signature map, using the given standard.
|
String |
getMS2525bCodeMask(String aHierarchySignature)
Returns a MIL-STD 2525 code mask that corresponds to the given
hierarchy signature.
|
static boolean |
isTraceOn()
Deprecated.
This method has been deprecated. It is recommended to use the
standard Java logging framework directly.
|
static void |
setClassTraceOn(boolean aClassTraceOn)
Deprecated.
This method has been deprecated. It is recommended to use the
standard Java logging framework directly.
|
public static final char MASKCHARACTER
public static boolean isTraceOn()
true
if tracing is enabled for this class.public static void setClassTraceOn(boolean aClassTraceOn)
true
then all log messages are recorded, otherwise only
the informative, warning and error messages are recorded.aClassTraceOn
- if true then all log messages are recorded,
otherwise only the informative, warning and error messages are recorded.public static TLcdMS2525bCode2HierarchyMap getInstance()
public static TLcdMS2525bCode2HierarchyMap getInstance(ELcdMS2525Standard aStandard)
public String getHierarchySignature(String aMS2525bCode)
aMS2525bCode
- a MIL-STD 2525 code.IllegalArgumentException
- when no hierarchy can be found for the given code.public String getMS2525bCodeMask(String aHierarchySignature)
aHierarchySignature
- a signature denoting a hierarchy.IllegalArgumentException
- when no code mask can be found for the given signature.