|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Defines an interface that provides navigation for URLs.
| Method Summary | |
java.util.Iterator |
getChildren(java.net.URL url)
Returns an iterator over the children of the URL. |
boolean |
isDir(java.net.URL url)
Return true if the url represents a directory. |
void |
visit(java.net.URL url,
URLVisitor visitor)
Visit all the children recursively. |
| Method Detail |
public boolean isDir(java.net.URL url)
throws java.lang.IllegalArgumentException,
java.io.IOException
url - the target url
java.lang.IllegalArgumentException - if the url is null or is not accepted
java.io.IOException
public java.util.Iterator getChildren(java.net.URL url)
throws java.lang.IllegalArgumentException,
java.io.IOException
url - the target url
java.lang.IllegalArgumentException - if the url is null or is not accepted
java.io.IOException
public void visit(java.net.URL url,
URLVisitor visitor)
throws java.lang.IllegalArgumentException,
java.io.IOException
url - the target urlvisitor - the visitor
java.lang.IllegalArgumentException - if an argument is null or if the url is not accepted
java.io.IOException - s
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||