public final class XMPParser extends Object
Modifier and Type | Method and Description |
---|---|
static XMPHandler |
createXMPHandler()
Creates and returns an XMPHandler for passive XMP parsing.
|
static Metadata |
parseXMP(Source src)
Parses an XMP file.
|
static Metadata |
parseXMP(URL url)
Parses an XMP file.
|
public static Metadata parseXMP(URL url) throws TransformerException
url
- the URL to load the file fromTransformerException
- if an error occurs while parsing the filepublic static Metadata parseXMP(Source src) throws TransformerException
src
- a JAXP Source object where the XMP file can be loaded fromTransformerException
- if an error occurs while parsing the filepublic static XMPHandler createXMPHandler()
Copyright © 2018 Apache Software Foundation. All rights reserved.