-
- All Known Implementing Classes:
DefaultTerminalFactory
public interface TerminalFactory
This interface is for abstracting the creation of your Terminal object. The bundled implementation is DefaultTerminalFactory, which will use a simple auto-detection mechanism for figuring out which terminal implementation to create based on characteristics of the system the program is running on.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Terminal
createTerminal()
Instantiates a Terminal according to the factory implementation.
-
-
-
Method Detail
-
createTerminal
Terminal createTerminal() throws java.io.IOException
Instantiates a Terminal according to the factory implementation.- Returns:
- Terminal implementation
- Throws:
java.io.IOException
- If there was an I/O error with the underlying input/output system
-
-