Interface URLLister
-
- All Known Implementing Classes:
ApacheHttpURLLister
,FileURLLister
public interface URLLister
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
accept(java.lang.String pattern)
Indicates if this lister is able to list urls with the given pattern.java.util.List<java.net.URL>
listAll(java.net.URL url)
-
-
-
Method Detail
-
accept
boolean accept(java.lang.String pattern)
Indicates if this lister is able to list urls with the given pattern. In general, only protocol is used.- Parameters:
pattern
- ditto- Returns:
- boolean
-
listAll
java.util.List<java.net.URL> listAll(java.net.URL url) throws java.io.IOException
- Throws:
java.io.IOException
-
-