public final class CmsExtractorMsWord extends A_CmsTextExtractorMsOfficeBase implements java.io.Serializable
cp, ENCODING_CP1252, ENCODING_UTF16, m_documentSummary, m_summary, POWERPOINT_EVENT_NAME, PPT_TEXTBYTE_ATOM, PPT_TEXTCHAR_ATOMm_inputBuffer| Constructor and Description |
|---|
CmsExtractorMsWord(java.lang.String version)
Hide the public constructor.
|
| Modifier and Type | Method and Description |
|---|---|
I_CmsExtractionResult |
extractText(java.io.InputStream in,
java.lang.String encoding)
Extracts the text and meta information from the document on the input stream, using the specified content encoding.
|
cleanup, extractMetaInformation, extractMetaInformation2003, extractMetaInformation2007, processPOIFSReaderEventextractText, extractText, extractText, getStreamCopy, removeControlCharspublic CmsExtractorMsWord(java.lang.String version)
public I_CmsExtractionResult extractText(java.io.InputStream in, 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_CmsTextExtractorextractText in class A_CmsTextExtractorin - the input stream for the document to extract the text fromencoding - the encoding to usejava.lang.Exception - if the text extration failsorg.opencms.search.extractors.I_CmsTextExtractor#extractText(java.io.InputStream, java.lang.String)