• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: plist support
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >plist support (From: Joe Little <email@hidden>)

  • Prev by Date: Re: When a session is created?
  • Next by Date: GhostWriting (?)
  • Previous by thread: plist support
  • Next by thread: Re: plist support
  • Index(es):
    • Date
    • Thread