|
SMILA 1.0 API documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.smila.connectivity.framework.crawler.web.parse.Outlink
public class Outlink
An outgoing link from a page.
Constructor Summary | |
---|---|
Outlink()
Empty constructor. |
|
Outlink(java.lang.String urlString,
java.lang.String anchor,
Configuration conf)
Creates new OutLink. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getAnchor()
Returns text anchor associated with the link. |
static int |
getDefaultPortNumber(java.lang.String protocol)
Returns the default port number for the specified protocol. |
java.net.URL |
getUrl()
Returns url of the link. |
java.lang.String |
getUrlString()
Returns url of the link. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Outlink()
public Outlink(java.lang.String urlString, java.lang.String anchor, Configuration conf) throws java.net.MalformedURLException
urlString
- URL of the link.anchor
- text anchor that is associated with this linkconf
- crawler configuration
java.net.MalformedURLException
- if URL is broken
java.net.URISyntaxException
URIException
URIException
Method Detail |
---|
public java.lang.String getUrlString()
public java.lang.String getAnchor()
public java.net.URL getUrl()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public static int getDefaultPortNumber(java.lang.String protocol)
protocol
- a particular access protocol
|
SMILA 1.0 API documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |