EmbASP-Narrative v7.1.0
|
Public Member Functions | |
InputProgram () | |
InputProgram (final Object inputObj) throws Exception | |
InputProgram (final String initial_program) | |
void | addFilesPath (final String file_path) |
void | addObjectInput (final Object inputObj) throws Exception |
void | addObjectsInput (final Set< Object > inputObjs) throws Exception |
void | addProgram (final String new_instruction) |
void | clearAll () |
void | clearFilesPaths () |
void | clearPrograms () |
List< String > | getFilesPaths () |
String | getPrograms () |
String | getSeparator () |
String | getStringOfFilesPaths () |
void | setPrograms (final String programs) |
void | setSeparator (final String separator) |
Protected Attributes | |
String | programs |
String | separator |
Represents a generic option
|
inline |
Creates a new programs , setting space as default separator
|
inline |
instantiate a new InputProgram
inputObj | Object used to retrieve data from |
|
inline |
|
inline |
add a new file path into files_paths
file_path | a new file path |
|
inline |
Exception |
Reimplemented in it.unical.mat.embasp.languages.datalog.DatalogInputProgram, and it.unical.mat.embasp.languages.asp.ASPInputProgram.
|
inline |
Reimplemented in it.unical.mat.embasp.languages.asp.ASPInputProgram, and it.unical.mat.embasp.languages.datalog.DatalogInputProgram.
|
inline |
Adds a new instruction directly into programs
new_instruction | a new programs instruction |
|
inline |
After this method both files_paths and programs will be empty
|
inline |
After this method files_paths will be empty
|
inline |
After this method programs will be empty
|
inline |
|
inline |
Returns data stored in programs
|
inline |
get separator character
|
inline |
Returns files paths for this programs
|
inline |
sets programs value to the new given one
@parm programs new value
|
inline |
Set programs separator to current value
separator | used as new separator |
|
protected |
where programs data is stored
|
protected |
used as separator for programs