public class TikaToXMP extends Object
| Constructor and Description |
|---|
TikaToXMP() |
| Modifier and Type | Method and Description |
|---|---|
static com.adobe.xmp.XMPMeta |
convert(org.apache.tika.metadata.Metadata tikaMetadata) |
static com.adobe.xmp.XMPMeta |
convert(org.apache.tika.metadata.Metadata tikaMetadata,
String mimetype)
Convert the given Tika metadata map to XMP object.
|
static ITikaToXMPConverter |
getConverter(String mimetype)
Retrieve a specific converter according to the mimetype
|
static boolean |
isConverterAvailable(String mimetype)
Check if there is a converter available which allows to convert the Tika metadata to XMP
|
public static com.adobe.xmp.XMPMeta convert(org.apache.tika.metadata.Metadata tikaMetadata)
throws org.apache.tika.exception.TikaException
org.apache.tika.exception.TikaExceptionBut the mimetype is retrieved from the metadata
map.public static com.adobe.xmp.XMPMeta convert(org.apache.tika.metadata.Metadata tikaMetadata,
String mimetype)
throws org.apache.tika.exception.TikaException
tikaMetadata - the Metadata map from Tikamimetype - depicts the format's converter to useorg.apache.tika.exception.TikaExceptionpublic static boolean isConverterAvailable(String mimetype)
mimetype - the Mimetypepublic static ITikaToXMPConverter getConverter(String mimetype) throws org.apache.tika.exception.TikaException
mimetype - the Mimetypeorg.apache.tika.exception.TikaExceptionCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.