public class LexFileIdMap
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
(package private) static boolean |
init
Initialization variable for this map.
|
(package private) static java.util.Map |
lexIdMap
A mapping
|
(package private) static java.util.Map |
lexNameMap
A mapping
|
| Constructor and Description |
|---|
LexFileIdMap() |
| Modifier and Type | Method and Description |
|---|---|
private static void |
checkInit()
Check if the maps are initialized.
|
static long |
getFileId(java.lang.String fileName)
Gets the file id based on the name.
|
static java.lang.String |
getFileName(long id)
Gets the file name based on an id.
|
private static void |
initMap()
Initializes our mappings
|
static java.util.Map lexIdMap
static java.util.Map lexNameMap
static boolean init
public static java.lang.String getFileName(long id)
id - - the file id: see LEXNAMES(5WN)public static long getFileId(java.lang.String fileName)
fileName - the file name: see LEXNAMES(5WN)private static void initMap()
private static void checkInit()