public class JempboxExtractor
extends java.lang.Object
Constructor and Description |
---|
JempboxExtractor(Metadata metadata) |
Modifier and Type | Method and Description |
---|---|
static void |
extractDublinCore(XMPMetadata xmpMetadata,
Metadata metadata)
Tries to extract Dublin Core schema from XMP.
|
static void |
extractXMPMM(XMPMetadata xmp,
Metadata metadata)
Extracts Media Management metadata from XMP.
|
static int |
getMaxXMPMMHistory() |
void |
parse(java.io.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(java.io.InputStream file) throws java.io.IOException, TikaException
java.io.IOException
TikaException
public static void extractDublinCore(XMPMetadata xmpMetadata, Metadata metadata)
xmpMetadata
- XMPMetadata to processmetadata
- Tika's metadata to write topublic static void extractXMPMM(XMPMetadata xmp, Metadata metadata)
xmp
- metadata
- public static void setMaxXMPMMHistory(int maxEvents)
The default is 1024.
public static int getMaxXMPMMHistory()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"