public class TXTTextExtractor extends Object implements TextExtractor
| Constructor and Description |
|---|
TXTTextExtractor(String filepath)
Creates a new TXT 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 TXT file.
|
public TXTTextExtractor(String filepath) throws FalseFileTypeException
filepath - The path of the TXT file.FalseFileTypeExceptionpublic String extractText()
extractText in interface TextExtractorpublic String extractPath()
extractPath in interface TextExtractorCopyright © 2016. All rights reserved.