See: Description
| Class | Description |
|---|---|
| Projog |
Provides an entry point for other Java code to interact with Projog.
|
| ProjogStackTraceElement |
An element in a stack trace, as returned by
Projog.getStackTrace(Throwable). |
| QueryPlan |
Represents a plan for executing a Prolog query.
|
| QueryResult |
Represents an executing query.
|
| QueryStatement |
Represents a query.
|
As well as interacting with Projog using the console application it is also possible to embed Projog in your Java applications. The steps required for applications to interact with Projog are as follows:
Projog instance.Projog.consultFile(File) or
Projog.consultReader(Reader).QueryStatement by using
Projog.createStatement(String).QueryResult by using QueryStatement.executeQuery().QueryResult.next().Term instantiated to a
Variable in the query by calling
QueryResult.getTerm(String).Copyright © 2024. All rights reserved.