com.svincent.moksa
Class PrologLoader
java.lang.Object
|
+--com.svincent.moksa.WamObject
|
+--com.svincent.moksa.PrologLoader
- public abstract class PrologLoader
- extends WamObject
Superclass of the Loader generated for each prolog file compiled
by MoksaProlog.
Subclasses are responsible for defining a no-arg constructor
which defines the source prolog file name, plus a load
method which installs all the rule definitions and executes all the
queries defined by this Prolog file.
|
Method Summary |
void |
load(PrologEngine engine)
Loads all the compiled Rule classes defined by this Loader, and
executes all the appropriate queries, also. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
PrologLoader
public PrologLoader()
load
public void load(PrologEngine engine)
throws PrologException
- Loads all the compiled Rule classes defined by this Loader, and
executes all the appropriate queries, also.
This is documentation for Moksa Prolog, which can be found at http://www.svincent.com/moksa/
Copyright © 1999 Shawn P. Vincent.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.