public class WordTextExtractor extends Object implements TextExtractor
Constructor and Description |
---|
WordTextExtractor(String filepath)
Creates a new MSWord text extractor.
|
Modifier and Type | Method and Description |
---|---|
String |
extractPath()
Returns the path of the input document.
|
String |
extractText()
Returns the textual content of the MSWord file.
|
public WordTextExtractor(String filepath) throws FalseFileTypeException
filepath
- The path of the MSWord file.FalseFileTypeException
public String extractText()
extractText
in interface TextExtractor
public String extractPath()
extractPath
in interface TextExtractor
Copyright © 2014. All rights reserved.