🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Reading INI files.

#15169
From: Steve Horsley
Date: Fri, 02 Jul 1999 00:00
18 lines
1179 bytes
The java.util.Properties class is intended for doing things like INI
files do, although it doesn't have sections like an INI file. I haven't
looked at one on disk to see if it's text or binary - it may just 
serialize itself.

If you want to use windoze style INI text files, you will have to
parse them yourself. There is a StringTokenizer class somewhere
which will help.

Steve
//------------------------
Eric Advincula wrote:
> 
> I need to read ini files and I was wondering if there is a specific class to
> do this or do I just use the File IO class?  Couldnt find info on it in the
> api's
> 
> Thanks
Technical Details
Message-ID: <377C7AC2.50DC590E@cwcom.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7lga7t$17e3@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,c248fdff5160d5e3
X-Google-Attributes: gidf74b3,public
From: Steve Horsley <steve.horsley@cwcom.co.uk>
Subject: Re: Reading INI files.
Date: 1999/07/02
Message-ID: <377C7AC2.50DC590E@cwcom.co.uk>
X-Deja-AN: 496344668
Content-Transfer-Encoding: 7bit
References: <7lga7t$17e3@forums.borland.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Cable & Wireless Communications
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language