org.basex.build.fs
Class SpotlightExtractor

java.lang.Object
  extended by org.basex.build.fs.SpotlightExtractor

public final class SpotlightExtractor
extends java.lang.Object

Extracts metadata from Apple's Spotlight.

Author:
Workgroup DBIS, University of Konstanz 2005-09, ISC License, Bastian Lemke

Constructor Summary
SpotlightExtractor(NewFSParser fsParser)
          Initializes the spotlight extractor.
 
Method Summary
 void parse(java.io.File file)
          Queries spotlight for metadata items for the file and fires parser events.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpotlightExtractor

public SpotlightExtractor(NewFSParser fsParser)
Initializes the spotlight extractor.

Parameters:
fsParser - the parser instance to fire events.
Method Detail

parse

public void parse(java.io.File file)
           throws java.io.IOException
Queries spotlight for metadata items for the file and fires parser events.

Parameters:
file - the file to search metadata for.
Throws:
java.io.IOException - if any error occurs...