org.jboss.net.protocol
public interface URLLister
Modifier and Type | Interface and Description |
---|---|
static interface |
URLLister.URLFilter
Interface defining a filter for listed members.
|
Modifier and Type | Method and Description |
---|---|
Collection |
listMembers(URL baseUrl,
String patterns)
List the members of the given collection URL that match the patterns
supplied.
|
Collection |
listMembers(URL baseUrl,
String patterns,
boolean scanNonDottedSubDirs)
List the members of the given collection URL that match the patterns
supplied and, if it contains directory that contains NO dot in the name and
scanNonDottedSubDirs is true, recursively finds URL in these directories.
|
Collection |
listMembers(URL baseUrl,
URLLister.URLFilter filter)
List the members of the given collection that are accepted by the filter
|
Collection |
listMembers(URL baseUrl,
URLLister.URLFilter filter,
boolean scanNonDottedSubDirs)
List the members of the given collection that are accepted by the filter
|
Collection listMembers(URL baseUrl, String patterns, boolean scanNonDottedSubDirs) throws IOException
baseUrl
- the URL to list; must end in "/"patterns
- the patterns to match (separated by ',')scanNonDottedSubDirs
- enables recursive search for directories containing no dotsIOException
- if there was a problem getting the listCollection listMembers(URL baseUrl, String patterns) throws IOException
baseUrl
- the URL to list; must end in "/"patterns
- the patterns to match (separated by ',')IOException
- if there was a problem getting the listCollection listMembers(URL baseUrl, URLLister.URLFilter filter, boolean scanNonDottedSubDirs) throws IOException
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 listCollection listMembers(URL baseUrl, URLLister.URLFilter filter) throws IOException
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 listCopyright © 2014 JBoss by Red Hat. All rights reserved.