Package edu.iu.jrsalata
Interface AbstractStatementBuilderBuilderInterface
- All Known Implementing Classes:
AbstractStatementBuilderBuilder
public interface AbstractStatementBuilderBuilderInterface
Interface for building and executing abstract statement builders.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
Executes the statement builder builder to create the needed buildersvoid
execute
(InputStream file) Executes the statement builder builder with the provided input stream.Retrieves a queue of abstract statement builders.void
setInputFile
(String filename) Sets the input file name for the statement builders.
-
Method Details
-
getBuilders
Queue<AbstractStatementBuilder> getBuilders()Retrieves a queue of abstract statement builders.- Returns:
- a queue of
AbstractStatementBuilder
instances.
-
execute
Executes the statement builder builder to create the needed builders- Throws:
InvalidAssemblyFileException
- if the assembly file is invalid.ScriptException
- if there is an error in the script execution.IOException
- if an I/O error occurs.
-
execute
Executes the statement builder builder with the provided input stream.- Parameters:
file
- the input stream of the file to be executed.- Throws:
InvalidAssemblyFileException
- if the assembly file is invalid.ScriptException
- if there is an error in the script execution.IOException
- if an I/O error occurs.
-
setInputFile
Sets the input file name for the statement builders.- Parameters:
filename
- the name of the input file.
-