当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
URLNavigator - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.common.net
Class URLNavigator
java.lang.Object
org.jboss.portal.common.net.URLNavigator
- public class URLNavigator
- extends java.lang.Object
The URLNavigator class is a registry for various URLNavigationProvider.
- Version:
- $Revision: 5451 $
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fileNav
private static final URLNavigationProvider fileNav
jarNav
private static final URLNavigationProvider jarNav
URLNavigator
public URLNavigator()
visit
public static void visit(java.net.URL url,
URLVisitor visitor)
throws java.lang.IllegalArgumentException,
java.io.IOException
- Throws:
java.lang.IllegalArgumentException
java.io.IOException
getProvider
private static URLNavigationProvider getProvider(java.net.URL url)
throws java.lang.IllegalArgumentException
- Return an URLNavigationProvider for the specified URL.
- Parameters:
url
- the target url
- Returns:
- the corresponding URL navigator
- Throws:
java.lang.IllegalArgumentException
- if the url is null or no provider is found