public class HtmlDocData extends DocData
Constructor and Description |
---|
HtmlDocData(java.lang.String url)
Create a new HtmlDocData object for the specified URL
|
HtmlDocData(java.net.URL url)
Create a new HtmlDocData object for the specified URL
|
Modifier and Type | Method and Description |
---|---|
void |
handleMeta(javax.swing.text.AttributeSet attrs)
Handle a Meta tag in the header.
|
boolean |
loadContent()
Load the content.
|
addKey, addKey, addKeyMap, calculateSimilarity, clearKeys, equals, getBody, getKeyMap, getKeys, getLink, getName, getSections, getSummary, getTimeStamp, getValueForKey, hashCode, matchesKey, setBody, setLink, setName, setSummary, setTimeStamp, toString
public HtmlDocData(java.lang.String url) throws java.net.MalformedURLException
url
- the URL of the documentjava.net.MalformedURLException
- if the argument is not a valid URLpublic HtmlDocData(java.net.URL url)
url
- the URL of the documentpublic void handleMeta(javax.swing.text.AttributeSet attrs)
attrs
- The attribute set for the Meta tagpublic boolean loadContent()
loadContent
in class DocData