Package sources.client
Interface Client
- All Known Implementing Classes:
ConsoleClient
public interface Client
The Client interface represents a client application.
-
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteScript(String path) Executes a script located at the specified path.voidexit()Exits the client.voidhelp()Displays help information for the user.voidhistory()Displays the history of commands executed by the user.
-
Method Details
-
help
void help()Displays help information for the user. -
exit
void exit()Exits the client. -
history
void history()Displays the history of commands executed by the user. -
executeScript
Executes a script located at the specified path.- Parameters:
path- the path to the script to execute- Throws:
CustomIOException- if there is an input/output error while executing the script
-