Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Properties - reposted
- From: esse@xxxxxxxxxxx (esse@xxxxxxxxxxx)
- Subject: Properties - reposted
- Date: Thu, 30 Dec 1999 18:26:33 -0200
Kishan, Excellent, excellent. Right in the bull's eye. I thank you, Marc and Sureshbabu for the interest in helping me. Letra Kishan A wrote: > > Hi, > > Dont create the Properties by passing System.getProperties to the > constructor. > The documentation clearly says that this is only used as defaults. Defaults > in the sense, this property will be looked into only if the requested key is > not there in your properties. The default properties is in no way part of > your properties and hence is not written to the file when u save. > Instead of using > Properties p1=new Properties(System.getProperties()); > use > Properties p1=System.getProperties() > It will work. > There is no problems with save() or list() methods. > > Regards, > Kishan > > PS: Note that save() is deprecated in 1.2 and store() is provided in place > of it. --- To unsubscribe, mail advanced-java-unsubscribe@xxxxxxxxxxxxxxxx To get help, mail advanced-java-help@xxxxxxxxxxxxxxxx
- References:
- Properties - reposted
- From: Kishan A
- Properties - reposted
- Prev by Date: where does a class come from?
- Next by Date: NYJavaSIG - Java Pink Noise
- Previous by thread: Properties - reposted
- Next by thread: off topic: Javascript with java plugin
- Index(es):