Article View: borland.public.jbuilder.java.language
Article #16186Re: Reading Files a line at a time
From: Richard Wilkman
Date: Wed, 24 Mar 1999 00:00
Date: Wed, 24 Mar 1999 00:00
33 lines
1453 bytes
1453 bytes
Frank: There's several ways to do this with the stock classes in java.io.* I'd start with java.io.LineNumberReader -Rich Frank Packenham wrote: > > I can use FileInputStream and it's read method to read a file a byte at a > time, but I'd like to Read a line into a String(). > > Surely there's a java class I can't find which does this > > ------- > Frank Packenham > Senior Analyst/Developer > NeuroFlex Pty Ltd. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rich Wilkman Senior Quality Assurance Engineer Borland JBuilder Team If you see something that looks like an opinion up there, it's mine and mine alone. Mail sent to me from the newsgroups won't bounce but will be ignored. If I have time, I'll respond, but you have a better chance if you confine your posts to the newsgroups =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID:
<36F9092C.B507BAAF@inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7d9l8r$mk98@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,abfd8414dd27ad8e X-Google-Attributes: gidf74b3,public From: Richard Wilkman <rwilkman@inprise.com> Subject: Re: Reading Files a line at a time Date: 1999/03/24 Message-ID: <36F9092C.B507BAAF@inprise.com> X-Deja-AN: 458417283 Content-Transfer-Encoding: 7bit References: <7d9l8r$mk98@forums.borland.com> Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language