|
sdr 0.7 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.cscott.sdr.calls.transform.CallFileLoader
public abstract class CallFileLoader
This class contains the code to parse and load a call list.
Constructor Summary | |
---|---|
CallFileLoader()
|
Method Summary | |
---|---|
static void |
load(URL file,
Map<String,Call> db)
Parse a call list and add its calls to the given map. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CallFileLoader()
Method Detail |
---|
public static void load(URL file, Map<String,Call> db)
js> function u(name) { > c=java.lang.Class.forName("net.cscott.sdr.calls.transform.CallFileLoader") > p="net/cscott/sdr/calls/lists/"+name+".calls" > return c.getClassLoader().getResource(p) > } js> m = new java.util.LinkedHashMap() {} js> CallFileLoader.load(u('basic'), m) js> CallFileLoader.load(u('mainstream'), m) js> CallFileLoader.load(u('plus'), m) js> CallFileLoader.load(u('a1'), m) js> CallFileLoader.load(u('a2'), m)
|
sdr 0.7 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |