public class XMLbasedTextExtractor extends Object implements TextExtractor
Constructor and Description |
---|
XMLbasedTextExtractor(String filepath)
Creates a new XML-based (XML, RDF, etc.) 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 XML file.
|
public XMLbasedTextExtractor(String filepath) throws FalseFileTypeException
filepath
- The path of the XML file.FalseFileTypeException
public String extractText()
extractText
in interface TextExtractor
public String extractPath()
extractPath
in interface TextExtractor
Copyright © 2014. All rights reserved.