public class XMPMetadataExtractor extends Object
Constructor and Description |
---|
XMPMetadataExtractor() |
Modifier and Type | Method and Description |
---|---|
static void |
extractDublinCoreSchema(org.apache.xmpbox.XMPMetadata xmp,
Metadata metadata)
Extracts Dublin Core.
|
static void |
extractXMPBasicSchema(org.apache.xmpbox.XMPMetadata xmp,
Metadata metadata)
Extracts basic schema metadata from XMP.
|
static void |
parse(InputStream stream,
Metadata metadata)
Parse the XMP Packets.
|
public static void parse(InputStream stream, Metadata metadata) throws IOException, TikaException
stream
- the stream to parser.metadata
- the metadata collection to updateIOException
- on any IO error.TikaException
- on any Tika error.public static void extractDublinCoreSchema(org.apache.xmpbox.XMPMetadata xmp, Metadata metadata) throws IOException
xmp
- the XMP Metadata object.metadata
- the metadata mapIOException
public static void extractXMPBasicSchema(org.apache.xmpbox.XMPMetadata xmp, Metadata metadata) throws IOException
xmp
- the XMP Metadata object.metadata
- the metadata mapIOException
Copyright © 2007–2023 The Apache Software Foundation. All rights reserved.