Article View: borland.public.jbuilder.java.language
Article #16176Re: Reading Files a line at a time
From: Hui Kwok Leong
Date: Wed, 24 Mar 1999 00:00
Date: Wed, 24 Mar 1999 00:00
20 lines
1039 bytes
1039 bytes
Hi, If you are reading the information from a File, then the easiest way is to read it using the class BufferedReader (Ref: readLine function). Hope this helps Lakshmanan N S 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.
Technical Details
Message-ID:
<36F85AE5.CA5F8F89@krdl.org.sg>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: Hui Kwok Leong <klhui@krdl.org.sg> Subject: Re: Reading Files a line at a time Date: 1999/03/24 Message-ID: <36F85AE5.CA5F8F89@krdl.org.sg> X-Deja-AN: 458232997 Content-Transfer-Encoding: 7bit References: <7d9l8r$mk98@forums.borland.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Kent Ridge Digital Lab Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language