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.FalseFileTypeException
public String extractText()
extractText
in interface TextExtractor
public String extractPath()
extractPath
in interface TextExtractor
Copyright © 2014. All rights reserved.