public final class CmsExtractorRtf extends A_CmsTextExtractor implements java.io.Serializable
m_inputBuffer| 构造器和说明 |
|---|
CmsExtractorRtf()
Hide the public constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
extractText, extractText, extractText, getStreamCopy, removeControlCharspublic 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 在接口中 I_CmsTextExtractorextractText 在类中 A_CmsTextExtractorcontent - the binary content of the document to extract the text fromencoding - the encoding to usejava.lang.Exception - if the text extration failsorg.opencms.search.extractors.I_CmsTextExtractor#extractText(byte[], java.lang.String)