Re: plist support
Re: plist support
- Subject: Re: plist support
- From: Kieran Kelleher <email@hidden>
- Date: Tue, 21 Jun 2005 16:11:50 -0400
Joe, I don't know if this is what you are looking for, but in any
standard WO project, there is a Properties file.
Just put properties in there like this and use System.getProperty(
propertyString, default ) to read in the property:
er.javamail.useSenderDelay = false
er.javamail.senderDelayMillis = 15
er.javamail.defaultEncoding = iso-8859-1
er.javamail.centralize = false
er.javamail.debugEnabled = false
HTH
-Kieran
________________________________________________________________
Blog: http://webobjects.webhop.org/
On Jun 21, 2005, at 1:29 PM, Joe Little wrote:
Maybe I'm dense, but in foraging around the net for examples and
insights on reading properties, I've seen basic coverage of reading
java properties files as well as using NSKeyValueCoding or
XMLKeyValueCoding to read xml files. For my current project that needs
only a few key-value pairs and some lists of values for a given key,
that plist format would be more ideal. Is using plists in your
resources a proper/supported way in WebObjects to store such property
information? Also, does anyone have further pointers on this?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden