public class XugglerRawMetadataProcessor extends BaseRawMetadataProcessor
Constructor and Description |
---|
XugglerRawMetadataProcessor() |
Modifier and Type | Method and Description |
---|---|
protected String |
convertTime(long microseconds) |
void |
exportGeneratedFiles(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
com.liferay.portal.kernel.xml.Element fileEntryElement) |
protected org.apache.tika.metadata.Metadata |
extractMetadata(File file) |
protected org.apache.tika.metadata.Metadata |
extractMetadata(String extension,
String mimeType,
File file) |
protected org.apache.tika.metadata.Metadata |
extractMetadata(String extension,
String mimeType,
InputStream inputStream) |
void |
importGeneratedFiles(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
com.liferay.portal.kernel.repository.model.FileEntry importedFileEntry,
com.liferay.portal.kernel.xml.Element fileEntryElement) |
protected boolean |
isSupported(String mimeType) |
createDDMForm, createDDMFormValues, createDDMFormValuesMap, createTextDDMFormField, getFields, getFieldValue, getMetadataValue, getRawMetadataMap, getRawMetadataMap
public void exportGeneratedFiles(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, com.liferay.portal.kernel.repository.model.FileEntry fileEntry, com.liferay.portal.kernel.xml.Element fileEntryElement)
public void importGeneratedFiles(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, com.liferay.portal.kernel.repository.model.FileEntry fileEntry, com.liferay.portal.kernel.repository.model.FileEntry importedFileEntry, com.liferay.portal.kernel.xml.Element fileEntryElement)
protected String convertTime(long microseconds)
protected org.apache.tika.metadata.Metadata extractMetadata(File file) throws Exception
Exception
protected org.apache.tika.metadata.Metadata extractMetadata(String extension, String mimeType, File file)
extractMetadata
in class BaseRawMetadataProcessor
protected org.apache.tika.metadata.Metadata extractMetadata(String extension, String mimeType, InputStream inputStream)
extractMetadata
in class BaseRawMetadataProcessor
protected boolean isSupported(String mimeType)