org.datastorm.controller
Class Controller
java.lang.Object
org.datastorm.controller.Controller
- All Implemented Interfaces:
- IController
- public class Controller
- extends Object
- implements IController
Controller
public Controller(Connection connection)
stopApplication
public void stopApplication()
- Specified by:
stopApplication in interface IController
startUp
public void startUp(ICommand[] commands)
throws SQLException
- Specified by:
startUp in interface IController
- Throws:
SQLException
handleCommand
public void handleCommand(ICommand[] commands)
- Specified by:
handleCommand in interface IController
handleCommand
public void handleCommand(ICommand command)
- Specified by:
handleCommand in interface IController
setView
public void setView(View view)
- Specified by:
setView in interface IController
parseAndDisplay
public void parseAndDisplay(String sqlQueries)
throws SQLException
- Specified by:
parseAndDisplay in interface IController
- Throws:
SQLException