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