KickJava   Java API By Example, From Geeks To Geeks.

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


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 fr.jayasoft.ivy.repository.url.URLRepository;
9
10 /**
11  * This resolver is able to work with any URLs, it handles latest revisions
12  * with file and http urls only, and it does not handle publishing
13  */

14 public class URLResolver extends RepositoryResolver {
15     public URLResolver() {
16         setRepository(new URLRepository());
17     }
18     public String JavaDoc getTypeName() {
19         return "url";
20     }
21 }
22
Popular Tags