org.hyphenType.input
Class StandardUserInput
java.lang.Object
org.hyphenType.input.UserInput
org.hyphenType.input.StandardUserInput
public class StandardUserInput
- extends UserInput
- Author:
- Aurelio Akira M. Matsui
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardUserInput
public StandardUserInput()
isGraphicalUIAvailable
protected boolean isGraphicalUIAvailable()
- Specified by:
isGraphicalUIAvailable
in class UserInput
readFromGraphicalUI
protected <T> T readFromGraphicalUI(Class<T> type,
String message,
String regex)
throws UserInputException
- Specified by:
readFromGraphicalUI
in class UserInput
- Throws:
UserInputException
isTextUIAvailable
protected boolean isTextUIAvailable()
- Specified by:
isTextUIAvailable
in class UserInput
readFromTextUI
protected <T> T readFromTextUI(Class<T> type,
String message,
String regex)
throws UserInputException
- Specified by:
readFromTextUI
in class UserInput
- Throws:
UserInputException
Copyright © 2013. All Rights Reserved.