public class AspInterface extends Object
| Constructor and Description |
|---|
AspInterface() |
| Modifier and Type | Method and Description |
|---|---|
void |
executeProgram(List<String> cmd,
String input)
Executes an external application with a given path, a set of parameters and
an input string.
|
void |
executeProgram(String... args) |
List<String> |
getError() |
List<String> |
getOutput()
this method returns the output of a previously called
answer set solver tools.
|
public void executeProgram(List<String> cmd, String input) throws IOException
cmd - A string array consisting of the path to the executable and a
set of parameters.input - An input string which is handed over to the executed program.IOExceptionpublic void executeProgram(String... args) throws IOException
IOExceptionpublic List<String> getOutput()
Copyright © 2018. All rights reserved.