🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: read doubles from console

#19259
From: Andrew Bennett
Date: Fri, 20 Feb 1998 00:00
23 lines
1245 bytes
angus fraser wrote:
> 
> Actually using 'somestring = dis.readLine()' gives depreciation warnings,
> but no indication of what I should use instead. Any idea about the
> preferred 1.1.x method is?

Instead of java.io.DataInputStream's readLine() method, use
java.io.BufferedReader's readLine() method.



Andrew
--
  Andrew Bennett
  abennett@borland.com

  Due to my workload, personal email more than likely won't get a reply.
  Support options are detailed at http://www.borland.com/devsupport/
  I am unable to answer support questions via email at this time.

  Check http://www.borland.com/devsupport/jbuilder/ for FAQs and
  additional JBuilder support related help.
Technical Details
Message-ID: <34EDBC2C.4C24298@borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <34EC8353.1A7BF514@borland.com> <memo.19980219205213.187A@afraser.cix.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,c6c624e45e8aa49f
X-Google-Attributes: gidf74b3,public
From: Andrew Bennett <abennett@borland.com>
Subject: Re: read doubles from console
Date: 1998/02/20
Message-ID: <34EDBC2C.4C24298@borland.com>
X-Deja-AN: 326988936
Content-Transfer-Encoding: 7bit
References: <34EC8353.1A7BF514@borland.com> <memo.19980219205213.187A@afraser.cix.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Organization: None
Newsgroups: borland.public.jbuilder.java.language