public class JempboxExtractor extends Object
Constructor and Description |
---|
JempboxExtractor(Metadata metadata) |
Modifier and Type | Method and Description |
---|---|
static void |
extractDublinCore(org.apache.jempbox.xmp.XMPMetadata xmpMetadata,
Metadata metadata)
Tries to extract Dublin Core schema from XMP.
|
static void |
extractXMPMM(org.apache.jempbox.xmp.XMPMetadata xmp,
Metadata metadata)
Extracts Media Management metadata from XMP.
|
protected static String |
joinCreators(List<String> creators) |
void |
parse(InputStream file) |
public JempboxExtractor(Metadata metadata)
public void parse(InputStream file) throws IOException, TikaException
IOException
TikaException
public static void extractDublinCore(org.apache.jempbox.xmp.XMPMetadata xmpMetadata, Metadata metadata)
xmpMetadata
- XMPMetadata to processmetadata
- Tika's metadata to write topublic static void extractXMPMM(org.apache.jempbox.xmp.XMPMetadata xmp, Metadata metadata)
xmp
- metadata
- Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.