Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » net » protocol » [javadoc | source]
org.jboss.net.protocol
public interface: URLLister [javadoc | source]

All Known Implementing Classes:
    URLListerBase, FileURLLister, DavURLLister

Interface defining methods that can be used to list the contents of a URL collection irrespective of the protocol.
Nested Class Summary:
public interface  URLLister.URLFilter  Interface defining a filter for listed members. 
Method from org.jboss.net.protocol.URLLister Summary:
listMembers,   listMembers,   listMembers,   listMembers
Method from org.jboss.net.protocol.URLLister Detail:
 public Collection listMembers(URL baseUrl,
    String patterns) throws IOException
    List the members of the given collection URL that match the patterns supplied. Doesn't recursively list files contained in directories.
 public Collection listMembers(URL baseUrl,
    URLLister.URLFilter filter) throws IOException
    List the members of the given collection that are accepted by the filter
 public Collection listMembers(URL baseUrl,
    String patterns,
    boolean scanNonDottedSubDirs) throws IOException
    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.
 public Collection listMembers(URL baseUrl,
    URLLister.URLFilter filter,
    boolean scanNonDottedSubDirs) throws IOException
    List the members of the given collection that are accepted by the filter