Scanner input

Jan 5, 2011 at 9:08 PM
Edited Jan 5, 2011 at 9:08 PM

I am sorry if this is documented in the pdf. I couldn't find it.

Is it possible to create a scanner that reads input from Console.In?

More generally is it possible to create a scanner that reads input from a TextReader?

It would be nice to have the Scanner(TextReader reader) constructor.

 

Thank you for your answer.