Java: Knowledge-Base not via file

From: Sebastian Weber <s-w_at_gmx.net>
Date: Thu 15 Jan 2004 10:46:57 PM GMT
Message-ID: <12628769171.20040115234657@gmx.net>
Hello,

I'm building an Java-application using the Java-Interface of Eclipse.
I want to setup a knowledge-base not via file as it usually happens,
because I am going to create the base dynamically.

In Eclipse (and other Prolog Systems) you can setup a knowledge base
like that, too:
Type "compile(user)." or "[user]." in console and enter the rules (...).
The input can be stopped with CTRL+D or through entering the
atom "end_of_file". 

My problem: How is it possible, to do this, using the Java-Interface
of Eclipse? 
The method compile(java.io.File) in EclipseEngine doesn't work, as it
needs a java.io.File as Parameter. Building an "CompoundTermImpl"
of "compile(user)" seems not to work, too?

Has anyone experiences with Java Interface of Eclipse and can help me?
Thank you!

Kind Regards,
Sebastian
Received on Thu Jan 15 22:52:19 2004

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:26 PM GMT GMT