com.liferay.portal.metadata
Class TikaRawMetadataProcessor
java.lang.Object
com.liferay.portal.metadata.BaseRawMetadataProcessor
com.liferay.portal.metadata.XugglerRawMetadataProcessor
com.liferay.portal.metadata.TikaRawMetadataProcessor
- All Implemented Interfaces:
- RawMetadataProcessor
public class TikaRawMetadataProcessor
- extends XugglerRawMetadataProcessor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TikaRawMetadataProcessor
public TikaRawMetadataProcessor()
setParser
public void setParser(org.apache.tika.parser.Parser parser)
extractMetadata
protected static org.apache.tika.metadata.Metadata extractMetadata(InputStream inputStream,
org.apache.tika.metadata.Metadata metadata,
org.apache.tika.parser.Parser parser)
throws IOException
- Throws:
IOException
extractMetadata
protected org.apache.tika.metadata.Metadata extractMetadata(String extension,
String mimeType,
File file)
throws SystemException
- Overrides:
extractMetadata
in class XugglerRawMetadataProcessor
- Throws:
SystemException
extractMetadata
protected org.apache.tika.metadata.Metadata extractMetadata(String extension,
String mimeType,
InputStream inputStream)
throws SystemException
- Overrides:
extractMetadata
in class XugglerRawMetadataProcessor
- Throws:
SystemException