public class WebPageTextExtractor extends Object implements TextExtractor
| Constructor and Description |
|---|
WebPageTextExtractor(String url)
Creates a new web page 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 web page.
|
public WebPageTextExtractor(String url)
url - The URL of the web page.public String extractText() throws FalseFileTypeException
extractText in interface TextExtractorFalseFileTypeExceptionpublic String extractPath()
extractPath in interface TextExtractorCopyright © 2016. All rights reserved.