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, waitlistMembers, listMembersprotected static final URLLister.URLFilter acceptAllFilter
public Collection listMembers(URL baseUrl, String patterns, boolean scanNonDottedSubDirs) throws IOException
URLListerlistMembers in interface URLListerbaseUrl - 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
URLListerlistMembers in interface URLListerbaseUrl - the URL to list; must end in "/"patterns - the patterns to match (separated by ',')IOException - if there was a problem getting the listCopyright © 2015 JBoss by Red Hat. All rights reserved.