Provides
TextTerminal
and
TextIO
implementations.
The concrete
TextTerminal
implementation is obtained as follows:
- If the system property "org.beryx.textio.TextTerminal" is defined, then it is
taken to be the fully-qualified name of a concrete
TextTerminal
class.
The class is loaded and instantiated. If this process fails, then the next step is executed.
- a
ServiceLoader
loads the configured TextTerminalProvider
s and searches for the
first one capable to provide a TextTerminal
instance.
If none is found, then the next step is executed.
- A default implementation is provided as follows: