public interface ToolImporterInterface
FileImportExportDecorator
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDefaultToolPackage() |
Tool[] |
importTools(java.io.File file,
java.lang.String pack)
Translates and returns the an array of
Tool objects from the file choosen by the user. |
java.lang.String getDefaultToolPackage()
Tool[] importTools(java.io.File file, java.lang.String pack) throws TaskGraphException, java.io.IOException
Tool
objects from the file choosen by the user.file
- pack
- TaskGraphException
- thrown if the tool format is invalid or unparsable, non matching brackets for
example.java.io.IOException
- thrown if there is a file IO problem.