Article View: borland.public.jbuilder.java.api
Article #2853Writing properties to Jar - file
From: Andreas Ahrens
Date: Wed, 23 Feb 2000 00:00
Date: Wed, 23 Feb 2000 00:00
23 lines
1026 bytes
1026 bytes
Hi,
is there any way to write back a Properties object to a jar - File ?
What my program does at startup is reading a Properties object from the
Jar file containing the application classes:
Properties props = new Properties();
try {
InputStream is =
getClass().getResourceAsStream("/CodeGen.properties");
props.load(is);
..
..
How can i write back a changed set of properties to the file
CodeGen.properties contained in the jar file ?
Thanks
Andreas Ahrens.
Technical Details
Message-ID:
<38B38F6C.8FDFAD18@isl.org>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,a739c3eb6f730e1d,start X-Google-Attributes: gid1089d0,public From: Andreas Ahrens <ahrens@isl.org> Subject: Writing properties to Jar - file Date: 2000/02/23 Message-ID: <38B38F6C.8FDFAD18@isl.org> X-Deja-AN: 588740789 Content-Transfer-Encoding: 7bit Organization: Another Netscape Collabra Server User X-Accept-Language: de Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.api