|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface URLNavigationProvider
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 |
---|
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
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
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 |