- queryBoolean(String) - Static method in class UserInterface
-
This method prompts the user (at the console) with whatever message is
passed in through the parameter message
, followed by the
String " (y/n)?".
- queryFileName(String) - Static method in class UserInterface
-
This method prompts the user (at the console) with whatever message is
passed in through the parameter message
.
- queryMatchType() - Static method in class UserInterface
-
This method asks the user (at the console):
"Search news makers by exact or partial matches (e or p)? "
The method loops until a valid answer in given.
- queryMediaType() - Static method in class UserInterface
-
This method asks the user (at the console):
"Search newspapers, TV news, or both (n, t, or b)? "
The method loops until a valid answer in given.
- queryNewsMakerName(String) - Static method in class UserInterface
-
This method asks the user for the name of a news maker using console
input and returns it.
- querySortCriterion(String) - Static method in class UserInterface
-
This method asks the user (at the console) for a sort criterion.