On 1/13/06, Jeremy Wood <email@hidden> wrote:
>
> > > Being the curious type I am, and armed with the multi-file search
> > feature of
> > > BB-Edit, I was able to locate the beast. It is contained in the
> > Preferences
> > > file com.apple.LaunchServices.plist. ...
> >
> > I would use Launch Services API to get at this information via JNI and
> > not parse that file directly.
>
> Hmmmmm...
>
> Why do you advise this? Are you just providing an alternative, or are there hidden pitfalls that I don't know about?
The format of the launch services plist is an implementation detail
that should not be depended on.
> As Martin just pointed out, I'm not familiar with an API for Launch Services. [snip] so I'm under the impression there's no Java API to query this value.
That is why I said use JNI. Launch Service is a Mac OS X API (under
the Carbon umbrella).
<http://developer.apple.com/documentation/Carbon/Conceptual/LaunchServicesConcepts/LSCIntro/chapter_1_section_1.html#//apple_ref/doc/uid/TP30000999-CH201>
<http://developer.apple.com/technotes/tn/tn2017.html>
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden