org.jboss.net.protocol.file
Class FileURLLister
java.lang.Object
org.jboss.net.protocol.URLListerBase
org.jboss.net.protocol.file.FileURLLister
- All Implemented Interfaces:
- URLLister
public class FileURLLister
- extends URLListerBase
FileURLLister
- Version:
- $Revision: 1.9 $
- Author:
- jboynes@users.sf.net, Dimitris Andreadis
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileURLLister
public FileURLLister()
listMembers
public Collection listMembers(URL baseUrl,
URLLister.URLFilter filter)
throws IOException
- Description copied from interface:
URLLister
- List the members of the given collection that are accepted by the filter
- Parameters:
baseUrl
- the URL to list; must end in "/"filter
- a filter that is called to determine if a member should
be returned
- Returns:
- a Collection of URLs that match
- Throws:
IOException
- if there was a problem getting the list
listMembers
public Collection listMembers(URL baseUrl,
URLLister.URLFilter filter,
boolean scanNonDottedSubDirs)
throws IOException
- Description copied from interface:
URLLister
- List the members of the given collection that are accepted by the filter
- Parameters:
baseUrl
- the URL to list; must end in "/"filter
- a filter that is called to determine if a member should
be returnedscanNonDottedSubDirs
- enables recursive search for directories containing no dots
- Returns:
- a Collection of URLs that match
- Throws:
IOException
- if there was a problem getting the list
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.