public class Table extends Object
Constructor and Description |
---|
Table() |
Modifier and Type | Method and Description |
---|---|
static void |
encodeForXML(HashMap<String,Object> map)
Print the map in "keyword = value" format
|
static HashMap<String,Object> |
find(String name,
String value,
HashMap<String,Object> map)
Find all records where the field has a specific value.
|
static boolean |
getVerbose() |
static void |
main(String[] args) |
static void |
print(PrintStream out,
String prefix,
HashMap<String,Object> map)
Print the map in "keyword = value" format
|
static HashMap<String,Object> |
process(String filename,
String separator)
Process a flat textual table.
|
static void |
setVerbose(boolean state) |
void |
showHelp()
Display help information.
|
public static void main(String[] args)
public void showHelp()
public static HashMap<String,Object> process(String filename, String separator)
public static HashMap<String,Object> find(String name, String value, HashMap<String,Object> map)
name
- name of the field.value
- value to search for.map
- the HashMap(String, Object> of the parsed file.public static void print(PrintStream out, String prefix, HashMap<String,Object> map)
public static void encodeForXML(HashMap<String,Object> map)
public static void setVerbose(boolean state)
public static boolean getVerbose()
Copyright © 2008-2016 Regents University of California. All Rights Reserved.