Liferay 6.1.2-ce-ga3

com.liferay.portal.search.lucene
Class LuceneFileExtractor

java.lang.Object
  extended by com.liferay.portal.search.lucene.LuceneFileExtractor

public class LuceneFileExtractor
extends Object


Constructor Summary
LuceneFileExtractor()
           
 
Method Summary
 org.apache.lucene.document.Field getFile(String field, byte[] bytes, String fileExt)
           
 org.apache.lucene.document.Field getFile(String field, File file, String fileExt)
           
 org.apache.lucene.document.Field getFile(String field, InputStream is, String fileExt)
           
protected  String regexpStrip(String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneFileExtractor

public LuceneFileExtractor()
Method Detail

getFile

public org.apache.lucene.document.Field getFile(String field,
                                                byte[] bytes,
                                                String fileExt)

getFile

public org.apache.lucene.document.Field getFile(String field,
                                                File file,
                                                String fileExt)
                                         throws IOException
Throws:
IOException

getFile

public org.apache.lucene.document.Field getFile(String field,
                                                InputStream is,
                                                String fileExt)

regexpStrip

protected String regexpStrip(String text)

Liferay 6.1.2-ce-ga3