Related to:
Query Windows Search from Java
But this time to use OSX's spotlight
I would like to consume OSX spotlight service from Java. Is there an API available?
.
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.