Re: plist support
Re: plist support
- Subject: Re: plist support
- From: Art Isbell <email@hidden>
- Date: Tue, 21 Jun 2005 11:48:39 -1000
On Jun 21, 2005, at 11:17 AM, Chuck Hill wrote:
If you need lists for a given key, then you need plists not the
standard
Java properties file.
Because Java properties files contain key-value pairs of
strings, and because plists have string representations, you can
include a list as a value in a Java properties file:
foo=(bar, baz, bam)
Then after the property's value is read in as a String, it can
be converted to an NSArray using
com.webobjects.foundation.NSPropertyListSerialization.propertyListFrom
String
(plistString);
String representations of dictionary plists can also be included
as values in properties files, but this gets more messy.
Aloha,
Art
_______________________________________________
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