|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
KeyboardUtils.readBoolFromKeyboard() methods.KeyboardUtils
.
String containing the characters to be allowed as input.
KeyboardUtils.readCharFromKeyboard() methods.KeyboardUtils.KeyboardInputValidator.SimpleDateFormat class.
DateFormat instance detailing how the date should be parsed from the
typed string.
KeyboardUtils.readDoubleFromKeyboard() methods.KeyboardUtils.readFloatFromKeyboard() methods.KeyboardUtils.readIntFromKeyboard(), KeyboardUtils.readHexFromKeyboard(),
KeyboardUtils.readOctalFromKeyboard() and KeyboardUtils.readBinaryFromKeyboard() methods.KeyboardUtils allows the user to cancel input.
KeyboardInputValidator) will throw this exception when the input string does
not conform to the requirements of the expected data type.KeyboardUtils class is an abstract class that defines the interface for easily accessing the keyboard.KeyboardUtils.KeyboardUtils.readLongFromKeyboard() methods.double floating point value from the keyboard without a prompt to the user.
double floating point value from the keyboard.
System.out, then reads a new line of text from the keyboard and returns it as it was
typed.
KeyboardInputValidator to verify the input and convert it to the type offered by the validator itself.
System.out, then reads a new line of text from the keyboard and uses the specified
KeyboardInputValidator to verify the input and convert it to the type offered by the validator itself.
KeyboardUtils allows the user to cancel input.
KeyboardUtils for validation.
KeyboardUtils for validation.
DateValidator.setMax(Date), DateValidator.setMin(Date) or DateValidator.setRange(Date, Date).
DoubleValidator.setMax(double), DoubleValidator.setMin(double) or DoubleValidator.setRange(double, double).
FloatValidator.setMax(float), FloatValidator.setMin(float) or FloatValidator.setRange(float, float).
IntValidator.setMax(int), IntValidator.setMin(int) or IntValidator.setRange(int, int).
LongValidator.setMax(long), LongValidator.setMin(long) or LongValidator.setRange(long, long).
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||