Liferay 6.2-ce-ga5

com.liferay.portal.metadata
Class TikaRawMetadataProcessor

java.lang.Object
  extended by com.liferay.portal.metadata.BaseRawMetadataProcessor
      extended by com.liferay.portal.metadata.XugglerRawMetadataProcessor
          extended by com.liferay.portal.metadata.TikaRawMetadataProcessor
All Implemented Interfaces:
RawMetadataProcessor

public class TikaRawMetadataProcessor
extends XugglerRawMetadataProcessor


Constructor Summary
TikaRawMetadataProcessor()
           
 
Method Summary
protected static org.apache.tika.metadata.Metadata extractMetadata(InputStream inputStream, org.apache.tika.metadata.Metadata metadata, org.apache.tika.parser.Parser parser)
           
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 setParser(org.apache.tika.parser.Parser parser)
           
 
Methods inherited from class com.liferay.portal.metadata.XugglerRawMetadataProcessor
convertTime, exportGeneratedFiles, extractMetadata, importGeneratedFiles, isSupported
 
Methods inherited from class com.liferay.portal.metadata.BaseRawMetadataProcessor
createDDMFields, createDDMFieldsMap, getFields, getFieldValue, getMetadataValue, getRawMetadataMap, getRawMetadataMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TikaRawMetadataProcessor

public TikaRawMetadataProcessor()
Method Detail

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

Liferay 6.2-ce-ga5