com.liferay.portal.search.lucene
Class LuceneFileExtractor
java.lang.Object
com.liferay.portal.search.lucene.LuceneFileExtractor
public class LuceneFileExtractor
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LuceneFileExtractor
public LuceneFileExtractor()
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)