|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.declarativa.interprolog.PrologImplementationPeer
Centers most of the Prolog implementation-dependent information
Field Summary | |
static String |
REGULAR_PROMPT
|
Constructor Summary | |
PrologImplementationPeer()
Variant to support only the partial functionality which does not depend on the existence of an engine |
|
PrologImplementationPeer(AbstractPrologEngine engine)
|
Method Summary | |
abstract String[] |
alternativePrologExtensions(String filename)
|
String |
executablePath(Properties p)
|
abstract String |
executablePath(String binDirectory)
|
abstract String |
getBinDirectoryProperty(Properties p)
|
PrologOperatorsContext |
getOperators()
|
String |
getPrologNumericVersion()
|
String |
getPrologVersion()
|
abstract String |
interprologFilename()
Returns the path for the Prolog file that must be loaded for InterProlog to function, USING '/' AS THE SEPARATION CHARACTER independently of the OS platform |
abstract boolean |
isInterrupt(Object resultError)
True if an error, as obtained in a ResultFromProlog object, looks like an interrupt detection on the Prolog side, cf. predicate handleDeterministicGoal in interprolog.P/pl/etc. resultError is not null |
abstract Recognizer |
makeBreakRecognizer()
|
abstract Recognizer |
makePromptRecognizer()
|
abstract String |
prologBinToBaseDirectory(String binDirectoryOrStartCommand)
|
String |
unescapedFilePath(String p)
Some Prologs use '\' as an escape character in atoms, which can affect file paths under Windows. |
abstract String |
visualizationFilename()
Returns the path for the Prolog file that must be loaded for InterProlog's visualization predicates to function, typically in the context of using a ListenerWindow. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static String REGULAR_PROMPT
Constructor Detail |
public PrologImplementationPeer()
public PrologImplementationPeer(AbstractPrologEngine engine)
Method Detail |
public abstract String getBinDirectoryProperty(Properties p)
public abstract String executablePath(String binDirectory)
public String getPrologVersion()
public String getPrologNumericVersion()
public abstract String[] alternativePrologExtensions(String filename)
public abstract String prologBinToBaseDirectory(String binDirectoryOrStartCommand)
public abstract Recognizer makePromptRecognizer()
public abstract Recognizer makeBreakRecognizer()
public abstract boolean isInterrupt(Object resultError)
public abstract String interprologFilename()
public abstract String visualizationFilename()
public String executablePath(Properties p)
public String unescapedFilePath(String p)
public PrologOperatorsContext getOperators()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |