本文介绍了从Java查询Mac OS X Spotlight的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
相关:
但是这次使用OSX的聚光灯
But this time to use OSX's spotlight
I想从Java使用OSX聚光灯服务。是否有可用的API?
I would like to consume OSX spotlight service from Java. Is there an API available?
。
推荐答案
我所知道的Spotlight没有Java API(我不认为它已被添加到现已弃用桥上的Cocoa-Java桥开发停止了)。 Spotlight有一个程序性的C ,但是,您可以使用进行包装。
There is no Java API for Spotlight that I am aware of (I don't think it was added to the now deprecated Cocoa-Java bridge development on the bridge was stopped). There is a procedural C API for Spotlight, however, that you could wrap with JNI.
这篇关于从Java查询Mac OS X Spotlight的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!