|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.droids.parse.Outlink
public class Outlink
An outlink that implements the task interface.
Constructor Summary | |
---|---|
Outlink(String toUrl,
int depth2)
Create a new instance for the given parameters. |
|
Outlink(String toUrl,
String anchor,
int depth2)
Create a new instance for the given parameters. |
Method Summary | |
---|---|
String |
getAnchor()
Get the anchor url. |
int |
getDepth()
Which is the depth of the current task. |
String |
getId()
The id of the task. |
String |
getTaskDate()
When did the task showed up the first time in the queue |
String |
getToUrl()
Get the destination url. |
void |
setDepth(int depth)
The limit of nested task extractions we want to allow |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Outlink(String toUrl, String anchor, int depth2)
toUrl
- the destination urlanchor
- the anchordepth2
- the depth of the linkpublic Outlink(String toUrl, int depth2)
toUrl
- the destination urldepth2
- the depth of the linkMethod Detail |
---|
public String getToUrl()
public String getAnchor()
public String getId()
Task
getId
in interface Task
public String getTaskDate()
Task
getTaskDate
in interface Task
public int getDepth()
Task
getDepth
in interface Task
public void setDepth(int depth)
Task
setDepth
in interface Task
depth
- limit of nested task extractions
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |