public class ScienceDirectPdfDownload extends java.lang.Object implements FullTextFinder
Constructor and Description |
---|
ScienceDirectPdfDownload() |
Modifier and Type | Method and Description |
---|---|
java.net.URL |
findFullTextURL(java.net.URL url)
Take the source HTML for an article page, and try to find the URL to the
full text for this article.
|
boolean |
supportsSite(java.net.URL url)
Report whether this FullTextFinder works for the site providing the given URL.
|
public boolean supportsSite(java.net.URL url)
FullTextFinder
supportsSite
in interface FullTextFinder
url
- The url to check.public java.net.URL findFullTextURL(java.net.URL url) throws java.io.IOException
FullTextFinder
findFullTextURL
in interface FullTextFinder
url
- The URL to the article's web page.java.io.IOException