|
Platypus | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.pz.platypus.plugin.rtf.RtfCommandTable
public class RtfCommandTable
Contains all the commands used in the RTF plugin, keyed by command root. Class is based substantially on org.pz.Platypus.CommandTable
| Field Summary | |
|---|---|
private java.util.HashMap<java.lang.String,OutputCommandable> |
commandTable
the hashtable into which the commands are loaded |
| Constructor Summary | |
|---|---|
RtfCommandTable()
|
|
| Method Summary | |
|---|---|
(package private) void |
add(OutputCommandable entry)
add a OutputCommandable item to the hash table, using its root as the key to the entry |
OutputCommandable |
getCommand(java.lang.String root)
Lookup a command by its root |
int |
getSize()
How many entries in the table |
void |
load(GDD gdd)
Load the commands and symbols into the command table. |
(package private) void |
loadCommands()
load commands in to the command table |
(package private) void |
loadSymbols(GDD gdd)
load the symbols and special characters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.util.HashMap<java.lang.String,OutputCommandable> commandTable
| Constructor Detail |
|---|
public RtfCommandTable()
| Method Detail |
|---|
public void load(GDD gdd)
gdd - GDDvoid loadCommands()
void loadSymbols(GDD gdd)
gdd - the global document datavoid add(OutputCommandable entry)
entry - to be added (either a command or a symbol)public OutputCommandable getCommand(java.lang.String root)
root - command root (portion ending in the first | : or ] character
public int getSize()
|
Platypus | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||