com.declarativa.interprolog
Class XSBPeer
java.lang.Object
   com.declarativa.interprolog.PrologImplementationPeer
com.declarativa.interprolog.PrologImplementationPeer
       com.declarativa.interprolog.XSBPeer
com.declarativa.interprolog.XSBPeer
- public class XSBPeer- extends PrologImplementationPeer
 
 
 
 
 
 
XSBPeer
public XSBPeer(AbstractPrologEngine engine)
getBinDirectoryProperty
public String getBinDirectoryProperty(Properties p)
- 
- Specified by:
- getBinDirectoryPropertyin class- PrologImplementationPeer
 
- 
 
executablePath
public String executablePath(String d)
- 
- Specified by:
- executablePathin class- PrologImplementationPeer
 
- 
 
alternativePrologExtensions
public String[] alternativePrologExtensions(String filename)
- 
- Specified by:
- alternativePrologExtensionsin class- PrologImplementationPeer
 
- 
 
prologBinToBaseDirectory
public String prologBinToBaseDirectory(String binDirectoryOrStartCommand)
- Assumes that Prolog options can not include "/bin/"...
 
- 
- Specified by:
- prologBinToBaseDirectoryin class- PrologImplementationPeer
 
- 
 
makePromptRecognizer
public Recognizer makePromptRecognizer()
- 
- Specified by:
- makePromptRecognizerin class- PrologImplementationPeer
 
- 
 
makeBreakRecognizer
public Recognizer makeBreakRecognizer()
- 
- Specified by:
- makeBreakRecognizerin class- PrologImplementationPeer
 
- 
 
interprologFilename
public String interprologFilename()
- Description copied from class: PrologImplementationPeer
- 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
 
- 
- Specified by:
- interprologFilenamein class- PrologImplementationPeer
 
- 
 
visualizationFilename
public String visualizationFilename()
- Description copied from class: PrologImplementationPeer
- 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. Although the file is common for all Prologs, some (eg XSB) have a compiled form, others do not
 
- 
- Specified by:
- visualizationFilenamein class- PrologImplementationPeer
 
- 
 
isInterrupt
public boolean isInterrupt(Object error)
- Description copied from class: PrologImplementationPeer
- 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
 
- 
- Specified by:
- isInterruptin class- PrologImplementationPeer
 
-