|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deepfs.fsml.plugin.SpotlightExtractor
public final class SpotlightExtractor
Extracts metadata from Apple's Spotlight.
Constructor Summary | |
---|---|
SpotlightExtractor()
Constructor. |
Method Summary | |
---|---|
boolean |
check(DeepFile deepFile)
Checks if there is a File in correct format and can be read by the parser. |
void |
extract(DeepFile deepFile)
Extracts metadata and file contents. |
void |
propagate(DeepFile deepFile)
Propagates the metadata and file contents back to the file in the file system. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpotlightExtractor() throws ParserException
ParserException
- if the spotex library is not availableMethod Detail |
---|
public boolean check(DeepFile deepFile)
IFileParser
Checks if there is a File in correct format and can be read by the parser. Checks e.g. header bytes.
check
in interface IFileParser
deepFile
- the DeepFile
to read from
public void extract(DeepFile deepFile)
IFileParser
extract
in interface IFileParser
deepFile
- the DeepFile
to save metadata and content topublic void propagate(DeepFile deepFile)
IFileParser
propagate
in interface IFileParser
deepFile
- the DeepFile
that contains the metadata and file
contents
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |