net.cscott.sdr.calls
Class CallDB
java.lang.Object
net.cscott.sdr.calls.CallDB
public class CallDB
- extends Object
CallDB holds all the calls and concepts we know about.
It is a singleton class; its static constructor loads
all the call definitions from files and other classes.
- Author:
- C. Scott Ananian
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final CallDB INSTANCE
allCalls
public final Collection<Call> allCalls
lookup
public Call lookup(String name)
- Lookup a call in the database.
- Throws:
IllegalArgumentException
- if the call name is
unknown.
parse
public Apply parse(Program program,
String s)
- Parse a natural-language string of calls.
Copyright (c) 2006 C. Scott Ananian