|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.search.extractors.A_CmsTextExtractor
org.opencms.search.extractors.CmsExtractorRtf
Extracts the text from a RTF document.
Field Summary |
Fields inherited from class org.opencms.search.extractors.A_CmsTextExtractor |
m_inputBuffer |
Method Summary | |
I_CmsExtractionResult |
extractText(byte[] content,
java.lang.String encoding)
Extracts the text and meta information from the given binary document, using the specified content encoding. |
static I_CmsTextExtractor |
getExtractor()
Returns an instance of this text extractor. |
Methods inherited from class org.opencms.search.extractors.A_CmsTextExtractor |
combineContentItem, extractText, extractText, extractText, getStreamCopy, removeControlChars |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static I_CmsTextExtractor getExtractor()
public I_CmsExtractionResult extractText(byte[] content, java.lang.String encoding) throws java.lang.Exception
I_CmsTextExtractor
The encoding is a hint for the text extractor, if the value given is null
then
the text extractor should try to figure out the encoding itself.
extractText
in interface I_CmsTextExtractor
extractText
in class A_CmsTextExtractor
java.lang.Exception
I_CmsTextExtractor.extractText(byte[], java.lang.String)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |