org.jboss.net.protocol
public abstract class URLListerBase extends Object implements URLLister
Modifier and Type | Class and Description |
---|---|
static class |
URLListerBase.URLFilterImpl
Inner class representing Filter criteria to be applied to the members
of the returned Collection
|
URLLister.URLFilter
Modifier and Type | Field and Description |
---|---|
protected static URLLister.URLFilter |
acceptAllFilter |
Constructor and Description |
---|
URLListerBase() |
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
listMembers, listMembers
protected static final URLLister.URLFilter acceptAllFilter
public Collection listMembers(URL baseUrl, String patterns, boolean scanNonDottedSubDirs) throws IOException
URLLister
listMembers
in interface URLLister
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 listpublic Collection listMembers(URL baseUrl, String patterns) throws IOException
URLLister
listMembers
in interface URLLister
baseUrl
- the URL to list; must end in "/"patterns
- the patterns to match (separated by ',')IOException
- if there was a problem getting the listCopyright © 2014 JBoss by Red Hat. All rights reserved.