pai
|
Static Public Member Functions | |
static | init () |
static | isInitialized () |
static | isWindows () |
static | hasLine () |
static | getLine () |
static | awaitLine () |
|
static |
Waits until the user has submitted a line and then returns it.
BadMethodCallException | if pai is not initialized |
|
static |
Returns the line of text the user has submitted or null if they haven't.
BadMethodCallException | if pai is not initialized |
|
static |
Returns true if the user has submitted a line of text.
BadMethodCallException | if pai is not initialized |
|
static |
Initializes pai's input handling. After this, STDIN is in pai's hands, and there's no way out.
BadMethodCallException | if pai is already initialized. |
|
static |
Returns true if pai is already initialized.
|
static |
Returns true if the code is running on a Windows machine.