站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

FileURLNavigationProvider - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.common.net.file
Class FileURLNavigationProvider

java.lang.Object
  extended byorg.jboss.portal.common.net.file.FileURLNavigationProvider
All Implemented Interfaces:
URLNavigationProvider

public class FileURLNavigationProvider
extends java.lang.Object
implements URLNavigationProvider

Version:
$Revision: 5451 $
Author:
Julien Viet

Field Summary
private  org.jboss.logging.Logger log
          The logger.
private  boolean trace
          Trace.
 
Constructor Summary
FileURLNavigationProvider()
           
 
Method Summary
private  void visit(java.io.File file, URLVisitor visitor)
           
 void visit(java.net.URL url, URLVisitor visitor)
          Visit all the children recursively.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private org.jboss.logging.Logger log
The logger.


trace

private boolean trace
Trace.

Constructor Detail

FileURLNavigationProvider

public FileURLNavigationProvider()
Method Detail

visit

public void visit(java.net.URL url,
                  URLVisitor visitor)
           throws java.lang.IllegalArgumentException,
                  java.io.IOException
Description copied from interface: URLNavigationProvider
Visit all the children recursively.

Specified by:
visit in interface URLNavigationProvider
Parameters:
url - the target url
visitor - the visitor
Throws:
java.lang.IllegalArgumentException - if an argument is null or if the url is not accepted
java.io.IOException - s

visit

private void visit(java.io.File file,
                   URLVisitor visitor)
            throws java.lang.IllegalArgumentException,
                   java.io.IOException
Throws:
java.lang.IllegalArgumentException
java.io.IOException