• 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: with java - create, read from, write to preferences file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: with java - create, read from, write to preferences file


  • Subject: Re: with java - create, read from, write to preferences file
  • From: p3consulting <email@hidden>
  • Date: Mon, 22 Dec 2003 10:21:33 +0100

For example, I want to get the path to the XML file.
(I store that path within the preferences file)

Don't store paths. See above for BDAlias.




Good and "bad" idea...

Alias is very specific to Mac OS - and the best for a good end user experience on this platform,
but if the original poster is writing in Java for cross-platform compatibility
it will be better to use also a cross-platform way of storing paths...
Same problem when using NSUserDefaults...

Depend on the targeted audience for the Java program...
If Mac only, go for it, if not think twice.


Pascal Pochet
P3 Consulting
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >with java - create, read from, write to preferences file (From: Matthias Edrich <email@hidden>)
 >Re: with java - create, read from, write to preferences file (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: What happens with timers and slow functions?
  • Next by Date: Re: What is the equivallent of CFMessagePortRef in Cocoa?
  • Previous by thread: Re: with java - create, read from, write to preferences file
  • Next by thread: re:with java - create, read from, write to preferences file
  • Index(es):
    • Date
    • Thread