Don't like ads? PRO users don't see any ads ;-)
Guest

parser

By: a guest on May 4th, 2012  |  syntax: None  |  size: 0.25 KB  |  hits: 39  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. TwitterTextUI:
  2.  
  3. int numberOfResults = parser.getUserInput();
  4.  
  5. Parser:
  6.  
  7. public String getUserInput()
  8.     {
  9.         String userinputLine;
  10.         System.out.print("> ");
  11.         userinputLine = reader.nextLine();
  12.         return userinputLine;
  13.     }