|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.antelmann.net.URLNode
public class URLNode
URLNode wrapps a URL and places it into a URLTree, which determines how the URLNode calculates its children.
URLTree,
Serialized Form| Constructor Summary | |
|---|---|
URLNode(URLCache uc,
URLNode parent,
URLTree tree)
|
|
URLNode(URL url,
URLNode parent,
URLTree tree)
|
|
| Method Summary | |
|---|---|
Enumeration<URLNode> |
children()
|
void |
collapse()
reverses the effect of expand() |
void |
expand()
makes this node expand beyond the crawler rules of the associated URLTree |
boolean |
getAllowsChildren()
|
TreeNode |
getChildAt(int childIndex)
|
int |
getChildCount()
|
int |
getIndex(TreeNode node)
|
TreeNode |
getParent()
|
URL |
getURL()
|
URLCache |
getURLCache()
|
boolean |
isLeaf()
|
void |
refresh()
refreshes the cached URL content and recursively all children |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public URLNode(URL url,
URLNode parent,
URLTree tree)
public URLNode(URLCache uc,
URLNode parent,
URLTree tree)
| Method Detail |
|---|
public Enumeration<URLNode> children()
children in interface TreeNodepublic boolean getAllowsChildren()
getAllowsChildren in interface TreeNodepublic TreeNode getChildAt(int childIndex)
getChildAt in interface TreeNodepublic int getChildCount()
getChildCount in interface TreeNodepublic int getIndex(TreeNode node)
getIndex in interface TreeNodepublic TreeNode getParent()
getParent in interface TreeNodepublic boolean isLeaf()
isLeaf in interface TreeNodepublic String toString()
toString in class Objectpublic void refresh()
public void expand()
public void collapse()
public URLCache getURLCache()
public URL getURL()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||