Declarativa Declarativa
 

 

Entrada

Produtos

Serviços

Inquiridor
Aplicações internet à medida
Auditoria informática
Subcontratação para I&D

Plataforma de conteúdos

Tecnologia

Web Information Systems
Web Application Maker
InterProlog

A empresa

Apresentação institucional

com.declarativa.interprolog
Class XSBPeer

java.lang.Object
  extended bycom.declarativa.interprolog.PrologImplementationPeer
      extended bycom.declarativa.interprolog.XSBPeer

public class XSBPeer
extends PrologImplementationPeer


Field Summary
 
Fields inherited from class com.declarativa.interprolog.PrologImplementationPeer
REGULAR_PROMPT
 
Constructor Summary
XSBPeer(AbstractPrologEngine engine)
           
 
Method Summary
 String[] alternativePrologExtensions(String filename)
           
 String executablePath(String d)
           
 String getBinDirectoryProperty(Properties p)
           
 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
 boolean isInterrupt(Object error)
          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
 Recognizer makeBreakRecognizer()
           
 Recognizer makePromptRecognizer()
           
 String prologBinToBaseDirectory(String binDirectoryOrStartCommand)
          Assumes that Prolog options can not include "/bin/"...
 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 com.declarativa.interprolog.PrologImplementationPeer
executablePath, getOperators, getPrologNumericVersion, getPrologVersion, unescapedFilePath
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSBPeer

public XSBPeer(AbstractPrologEngine engine)
Method Detail

getBinDirectoryProperty

public String getBinDirectoryProperty(Properties p)
Specified by:
getBinDirectoryProperty in class PrologImplementationPeer

executablePath

public String executablePath(String d)
Specified by:
executablePath in class PrologImplementationPeer

alternativePrologExtensions

public String[] alternativePrologExtensions(String filename)
Specified by:
alternativePrologExtensions in class PrologImplementationPeer

prologBinToBaseDirectory

public String prologBinToBaseDirectory(String binDirectoryOrStartCommand)
Assumes that Prolog options can not include "/bin/"...

Specified by:
prologBinToBaseDirectory in class PrologImplementationPeer

makePromptRecognizer

public Recognizer makePromptRecognizer()
Specified by:
makePromptRecognizer in class PrologImplementationPeer

makeBreakRecognizer

public Recognizer makeBreakRecognizer()
Specified by:
makeBreakRecognizer in 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:
interprologFilename in 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:
visualizationFilename in 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:
isInterrupt in class PrologImplementationPeer



 Declarativa - Serviços de Informática, Lda.
  www.declarativa.com, info@declarativa.com  fax: +351-22-030-1511  tel: +351-22-030-1580
UPTEC - Parque de Ciência e Tecnologia da Universidade do Porto (GoogleMap)
Rua Actor Ferreira da Silva 100 4200-298 Porto Portugal