public class TikaToXMP extends Object
| Constructor and Description |
|---|
TikaToXMP() |
| Modifier and Type | Method and Description |
|---|---|
static com.adobe.internal.xmp.XMPMeta |
convert(Metadata tikaMetadata) |
static com.adobe.internal.xmp.XMPMeta |
convert(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.internal.xmp.XMPMeta convert(Metadata tikaMetadata) throws TikaException
TikaExceptionBut the mimetype is retrieved from the metadata
map.public static com.adobe.internal.xmp.XMPMeta convert(Metadata tikaMetadata, String mimetype) throws TikaException
tikaMetadata - the Metadata map from Tikamimetype - depicts the format's converter to useTikaExceptionpublic static boolean isConverterAvailable(String mimetype)
mimetype - the Mimetypepublic static ITikaToXMPConverter getConverter(String mimetype) throws TikaException
mimetype - the MimetypeTikaExceptionCopyright © 2007–2022 The Apache Software Foundation. All rights reserved.