Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #1029
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail |
|---|---|
| From | Roedy Green <see_website@mindprod.com.invalid> |
| Newsgroups | alt.comp.lang.java, comp.lang.java.help, comp.sources.d |
| Subject | Re: Newbie seeking comments on StdinReader class |
| Date | Sat, 10 Sep 2011 20:12:05 -0700 |
| Organization | Canadian Mind Products |
| Lines | 20 |
| Message-ID | <ql9o6799oade6k95ujpabsvl220mv7o9tk@4ax.com> (permalink) |
| References | <d7333ac9-4b0e-41b3-854d-7c2486e3fd5b@33g2000yqu.googlegroups.com> |
| Reply-To | Roedy Green <see_website@mindprod.com.invalid> |
| NNTP-Posting-Host | RCd/Ul4tyxGUBII8WGwa5g.user.speranza.aioe.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| X-Complaints-To | abuse@aioe.org |
| X-Notice | Filtered by postfilter v. 0.8.2 |
| X-Newsreader | Forte Agent 6.00/32.1186 |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.help:1029 comp.sources.d:41 |
Cross-posted to 3 groups.
Show key headers only | View raw
On Mon, 5 Sep 2011 07:00:39 -0700 (PDT), anirudhbhat9@yahoo.com wrote, quoted or indirectly quoted someone who said : > >I am a Java newbie and I have created a class which reads input from >Stdin. I want the class to silently block until the user enters the >correct input. Here's what I have developed. I would appreciate >expert comments on this, they way a seasoned professional would >approach this problem. (Yes, I do realize that Java considers command >line input old fashioned). stdin blocks all by itself. You can do this more simply with readLine. See http://mindprod.com/applet/fileio.html to generate you a program to do it. -- Roedy Green Canadian Mind Products http://mindprod.com The modern conservative is engaged in one of man's oldest exercises in moral philosophy; that is, the search for a superior moral justification for selfishness. ~ John Kenneth Galbraith (born: 1908-10-15 died: 2006-04-29 at age: 97)
Back to comp.lang.java.help | Previous | Next — Previous in thread | Find similar
Newbie seeking comments on StdinReader class anirudhbhat9@yahoo.com - 2011-09-05 07:00 -0700 Re: Newbie seeking comments on StdinReader class markspace <-@.> - 2011-09-05 08:42 -0700 Re: Newbie seeking comments on StdinReader class langrenfengzi <langrenfengzi@myopera.com> - 2011-09-10 21:22 +0800 Re: Newbie seeking comments on StdinReader class Roedy Green <see_website@mindprod.com.invalid> - 2011-09-10 20:12 -0700
csiph-web