Re: plist support
Re: plist support
- Subject: Re: plist support
- From: Chuck Hill <email@hidden>
- Date: Tue, 21 Jun 2005 14:17:23 -0700
If you need lists for a given key, then you need plists not the standard
Java properties file. See
com.webobjects.foundation.NSPropertyListSerialization.propertyListFromString
(plistString);
See WOResourceManager for how to access and read in plistString from a file
in your application or framework resources.
HTH
Chuck
At 10:29 AM 21/06/2005 -0700, 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:
e.net
>
>This email sent to email@hidden
>
>
--
Practical WebObjects - a book for intermediate WebObjects developers
who want to increase their overall knowledge of WebObjects, or those
who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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