|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.atlassian.bonnie.search.extractor.BaseAttachmentContentExtractor
com.atlassian.bonnie.search.extractor.MsExcelContentExtractor
| Field Summary | |
static org.apache.log4j.Category |
log
|
| Constructor Summary | |
MsExcelContentExtractor()
|
|
| Method Summary | |
protected java.lang.String |
extractText(java.io.InputStream is,
SearchableAttachment attachment)
Package access for unit testing only. |
protected java.lang.String[] |
getMatchingContentTypes()
|
protected java.lang.String[] |
getMatchingFileExtensions()
|
| Methods inherited from class com.atlassian.bonnie.search.extractor.BaseAttachmentContentExtractor |
addFields, shouldExtractFrom |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final org.apache.log4j.Category log
| Constructor Detail |
public MsExcelContentExtractor()
| Method Detail |
protected java.lang.String[] getMatchingContentTypes()
getMatchingContentTypes in class BaseAttachmentContentExtractorprotected java.lang.String[] getMatchingFileExtensions()
getMatchingFileExtensions in class BaseAttachmentContentExtractor
protected java.lang.String extractText(java.io.InputStream is,
SearchableAttachment attachment)
throws ExtractorException
BaseAttachmentContentExtractor
extractText in class BaseAttachmentContentExtractoris - a stream containing the attachment contentsattachment - contains useful attachment metadata, e.g. filename
ExtractorException - if there is a problem with converting the attachment content into text. A wrapper
around the original exception.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||