How to read OSX .plist files from Java?

nonamelive picture nonamelive · Nov 17, 2009 · Viewed 11.5k times · Source

How to read OSX .plist files from Java?

Answer

Erik picture Erik · Jan 17, 2011

Imho running a commandline tool from Java is not quite the "best way to do the job".

There are several much better ways to deal with binary plist in JAVA: That one I prefere is an usefull little project by Daniel Dreibrodt at: google project hosting

You can also use Apache Commons Configuration (which API is supporting the Property List format). More information about the history of the .plist-format on OSX (which version introduced which format) I wrote up on my blog

Update: There is a new project hosted at source forge called Property List Library, that shall be able to read AND write .plist- I have not tested it, but it sounds interesting.