public interface TaskGraphImporterInterface
FileImportExportDecorator
Modifier and Type | Method and Description |
---|---|
TaskGraph |
importWorkflow(java.io.File file,
TrianaProperties properties)
Translates and returns the
TaskGraph from the file choosen by the user. |
TaskGraph importWorkflow(java.io.File file, TrianaProperties properties) throws TaskGraphException, java.io.IOException
TaskGraph
from the file choosen by the user.file
- TaskGraphException
- thrown if the taskgraph or workflow format is invalid or unparsable, non matching
brackets for example.java.io.IOException
- thrown if there is a file IO problem.