public class KeyValueTable
extends java.lang.Object
History:
| Modifier and Type | Method and Description |
|---|---|
static java.util.Hashtable<java.lang.String,java.lang.String> |
GetKeyValueTable(java.lang.String inFile,
boolean verbose,
int lineNum)
Get the key-value table by loading all key-value pairs from a file
with options of verbose and show loading lineNum.
|
static java.lang.String |
GetValue(java.lang.String key,
java.util.Hashtable<java.lang.String,java.lang.String> keyValueTable)
Get the mapping value for the key in the key-value table.
|
public static java.lang.String GetValue(java.lang.String key,
java.util.Hashtable<java.lang.String,java.lang.String> keyValueTable)
key - the key for the mapping valuekeyValueTable - the key-value tablepublic static java.util.Hashtable<java.lang.String,java.lang.String> GetKeyValueTable(java.lang.String inFile,
boolean verbose,
int lineNum)
inFile - the file includes key-value pairs to be loadedverbose - verbose flaglineNum - loading status of line number to be displayed Submit a bug or feature
Copyright © 2015 National Library of Medicine