util
Class HamNameMap
java.lang.Object
util.HamNameMap
public class HamNameMap
- extends java.lang.Object
Provides mapping in both directions between HamNoSys token
names and the corresponding octet values (classic HNS 3 character
values), based on data from a Properties file.
Alternative spellings are allowed for a couple of tokens,
as specified by an auiliary Properties file.
This caters for discrepancies between UH and UEA spellings,
especially when doing HNS-Sign SiGML input.
There is a singleton static factory method, which gives the standard
instance of this class.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getStdHamNameMap
public static HamNameMap getStdHamNameMap()
hamName
public java.lang.String hamName(int o)
hamName
public java.lang.String hamName(int o,
java.lang.String hndefault)
octet
public int octet(java.lang.String hn)
hamNames
public java.lang.String[] hamNames()
hamNamesAscending
public java.lang.String[] hamNamesAscending()