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.
|
static int |
getMaxXMPMMHistory() |
protected static String |
joinCreators(List<String> creators) |
void |
parse(InputStream file) |
static void |
setMaxXMPMMHistory(int maxEvents)
Maximum number of events to extract from the
event history in the XMP Media Management (XMPMM) section.
|
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
- public static void setMaxXMPMMHistory(int maxEvents)
The default is 1024.
public static int getMaxXMPMMHistory()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.