org.jboss.net.protocol.file
public class FileURLLister extends URLListerBase
URLListerBase.URLFilterImpl
URLLister.URLFilter
acceptAllFilter
Constructor and Description |
---|
FileURLLister() |
Modifier and Type | Method and Description |
---|---|
Collection |
listMembers(URL baseUrl,
URLLister.URLFilter filter)
List the members of the given collection that are accepted by the filter
|
Collection<URL> |
listMembers(URL baseUrl,
URLLister.URLFilter filter,
boolean scanNonDottedSubDirs)
List the members of the given collection that are accepted by the filter
|
listMembers, listMembers
public Collection listMembers(URL baseUrl, URLLister.URLFilter filter) throws IOException
URLLister
baseUrl
- the URL to list; must end in "/"filter
- a filter that is called to determine if a member should
be returnedIOException
- if there was a problem getting the listpublic Collection<URL> listMembers(URL baseUrl, URLLister.URLFilter filter, boolean scanNonDottedSubDirs) throws IOException
URLLister
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 dotsIOException
- if there was a problem getting the listCopyright © 2014 JBoss by Red Hat. All rights reserved.