Re: Saving properties
Re: Saving properties
- Subject: Re: Saving properties
- From: Art Isbell <email@hidden>
- Date: Tue, 18 Feb 2003 13:25:05 -1000
On Tuesday, February 18, 2003, at 11:11 AM, Art Isbell wrote:
On Tuesday, February 18, 2003, at 09:21 AM, Dan wrote:
So in WO 5 what is the recommended (best) way to save properties
programmatically, so that they will be read back in the next time the
application is launched (and no - I don't particularly want to save
them into
some kind of database table)?
I believe that Properties files in WO frameworks will be merged in
some way with the main app's Properties file.
The javadoc for com.webobjects.foundation.NSProperties describes this
process. Apparently a WO app will do this merging automatically.
Although java.util.Properties is a replacement for the old
NSUserDefaults, you can store properties in any file. However, only
files named "Properties" will be accessible via System and other
properties methods.
Art
http://homepage.mac.com/aisbell/
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.