Interface | Description |
---|---|
IOModel |
The
IOModel interface defines the input and output methods
supported by both the IOConsole
and IODialog classes. |
Class | Description |
---|---|
IOConsole |
The
IOConsole class makes it easier to interact with
the user using text-based input and output in the style of a
traditional console. |
IODialog |
The
IODialog class provides a simple, dialog-based mechanism
for interacting with the user. |
IOConsole
, which provides
a traditional interactive console.
The second is IODialog
, which
provides a dialog-based input mechanism that is compatible with the console
design.
Each of these classes implements the IOModel
interface, which unifies the two input models.