org.textmining.text.extraction
Class Word6Extractor

java.lang.Object
  |
  +--org.textmining.text.extraction.Word6Extractor

class Word6Extractor
extends java.lang.Object

This class is used to extract text from Word 6 documents only. It should only be called from the org.textmining.text.extraction.WordExtractor because it will automatically determine the version.


Constructor Summary
Word6Extractor()
           
 
Method Summary
 java.lang.String extractText(byte[] mainStream)
          Extracts the text
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Word6Extractor

public Word6Extractor()
Method Detail

extractText

public java.lang.String extractText(byte[] mainStream)
                             throws java.lang.Exception
Extracts the text

Parameters:
mainStream - The POIFS document stream entitled "WordDocument".
Returns:
The text from the document
Throws:
java.lang.Exception - If there are any unexpected exceptions.