public class PrologProgram extends Object implements Serializable
Constructor and Description |
---|
PrologProgram(File programFile) |
PrologProgram(InputStream is)
Creates a program getting its source text from an input stream
|
PrologProgram(String program)
Creates a program from its source text
|
public PrologProgram(InputStream is) throws IOException
is
- the input stream acting as sourceIOException
public PrologProgram(String program)
the
- programpublic PrologProgram(File programFile) throws FileNotFoundException, IOException
FileNotFoundException
IOException