🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #16025

Re: Reading Files a line at a time

#16025
From: John Tashiro
Date: Wed, 07 Apr 1999 00:00
41 lines
1632 bytes
which of these are fastest:

bufferedreader
linenumberreader
randomfile

Richard Wilkman wrote:

> 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: <370C24B9.C988C280@ibm.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7d9l8r$mk98@forums.borland.com> <36F9092C.B507BAAF@inprise.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: John Tashiro <jtashir@ibm.net>
Subject: Re: Reading Files a line at a time
Date: 1999/04/07
Message-ID: <370C24B9.C988C280@ibm.net>
X-Deja-AN: 463894968
Content-Transfer-Encoding: 7bit
References: <7d9l8r$mk98@forums.borland.com> <36F9092C.B507BAAF@inprise.com>
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language