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
TikaException
But 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 useTikaException
public static boolean isConverterAvailable(String mimetype)
mimetype
- the Mimetypepublic static ITikaToXMPConverter getConverter(String mimetype) throws TikaException
mimetype
- the MimetypeTikaException
Copyright © 2007–2023 The Apache Software Foundation. All rights reserved.