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

URLVisitor - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.common.net
Interface URLVisitor


public interface URLVisitor

Visitor pattern interface.


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

Method Detail

startDir

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

Parameters:
name - the dir name

endDir

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

Parameters:
name - the dir name

file

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

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