Article View: borland.public.jbuilder.java.api
Article #2856Re: Writing properties to Jar - file
From: Andreas Ahrens
Date: Thu, 24 Feb 2000 00:00
Date: Thu, 24 Feb 2000 00:00
28 lines
1353 bytes
1353 bytes
After thinking about you are right it is the better way to store program specific properties separately from program code. And this makes even user specific property sets much easier to implement. thanks for your reply Andreas Ahrens <ahrens@isl.org> "John P. McGrath" schrieb: > On Wed, 23 Feb 2000 08:42:36 +0100, Andreas Ahrens wrote: > > > is there any way to write back a Properties object to a jar - File ? > > I don't think so. As far as I know, the Jar/Zip support in Java is read- > only. > > Are you sure you want to do this, though? I think it is usually better > to store a program's configuration and other data separate from the code. > > -- > John P. McGrath > <JPMcGrath@fast.net> > <jpm@nscs.fast.net>
Technical Details
Message-ID:
<38B4DCCB.C0C07390@isl.org>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<38B38F6C.8FDFAD18@isl.org> <MPG.131e8374532156ad9897ba@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,a739c3eb6f730e1d X-Google-Attributes: gid1089d0,public From: Andreas Ahrens <ahrens@isl.org> Subject: Re: Writing properties to Jar - file Date: 2000/02/24 Message-ID: <38B4DCCB.C0C07390@isl.org> X-Deja-AN: 589189417 Content-Transfer-Encoding: 7bit References: <38B38F6C.8FDFAD18@isl.org> <MPG.131e8374532156ad9897ba@forums.borland.com> X-Accept-Language: de Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.api