Page 1 of 1

Java I/O

Posted: Thu Jul 06, 2006 11:17 am
by LiveFree
Well, after reading the 'Good Client-Side language to start with' thread above this one, I have decided to jump into the client-side world with JAVA!

I understand the basic principals of Java, but as of so far I can only program command line stuff which does not require user input.

My Question: What packages/classes would I need to use to accept/process user input at the CLI?

Thanks

Posted: Fri Jul 07, 2006 2:26 am
by timvw
System.in is the standard inputstream... I remember that there are some wrappers/classes that give you a set of 'easy' methods.. eg: getChar, getChars, ...

Posted: Fri Jul 07, 2006 9:25 am
by LiveFree
Ive decided to use a custom class (TextIO)

Thanks anyway timvw