public class ConsoleIO extends Object
Provides a wrapper class for conole I/O functions to allow Java and J#/.NET versions.
Constructor and Description |
---|
ConsoleIO() |
Modifier and Type | Method and Description |
---|---|
static int |
available()
Check if there is input available
|
static boolean |
isValid()
Check if the console input is connected to a valid stream
|
static int |
readCharacter()
Read a character from the console
|
public static final boolean isValid()
public static final int available()
public static final int readCharacter()
Copyright © 2005–2018 Alfresco Software. All rights reserved.