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

URLVisitor - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.common.net
Interface URLVisitor

All Known Implementing Classes:
PortalDeploymentInfo.FactoryVisitor

public interface URLVisitor

Visitor pattern interface.

Version:
$Revision: 5451 $
Author:
Julien Viet

Method Summary
 void endDir(java.net.URL url, java.lang.String name)
          Signals the visitor leavers a directory.
 void file(java.net.URL url, java.lang.String name)
          Signals the visitor there is a file.
 void startDir(java.net.URL url, java.lang.String name)
          Signal the visitor enters a directory.
 

Method Detail

startDir

public void startDir(java.net.URL url,
                     java.lang.String name)
Signal the visitor enters a directory.

Parameters:
url - the dir URL
name - the dir name

endDir

public void endDir(java.net.URL url,
                   java.lang.String name)
Signals the visitor leavers a directory.

Parameters:
url - the dir URL
name - the dir name

file

public void file(java.net.URL url,
                 java.lang.String name)
Signals the visitor there is a file.

Parameters:
url - the file URL
name - the file name