KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > fr > jayasoft > ivy > resolver > URLLister


1 /*
2  * This file is subject to the license found in LICENCE.TXT in the root directory of the project.
3  *
4  * #SNAPSHOT#
5  */

6 package fr.jayasoft.ivy.resolver;
7
8 import java.io.IOException JavaDoc;
9 import java.net.URL JavaDoc;
10 import java.util.List JavaDoc;
11
12 public interface URLLister {
13     /**
14      * Indicates if this lister is able to list urls with the given pattern.
15      * In general, only protocol is used.
16      * @param pattern
17      * @return
18      */

19     boolean accept(String JavaDoc pattern);
20     
21     List JavaDoc listAll(URL JavaDoc url) throws IOException JavaDoc;
22 }
23
Popular Tags