KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > update > search > IUpdateSiteAdapter


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.update.search;
12
13 import java.net.*;
14
15 /**
16  * This interface wraps an update site URL and adds
17  * a presentation label. It is used to encapsulate sites that need
18  * to be visited during the update search.
19  * <p>
20  * <b>Note:</b> This class/interface is part of an interim API that is still under development and expected to
21  * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
22  * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
23  * (repeatedly) as the API evolves.
24  * </p>
25  * @since 3.0
26  */

27
28 public interface IUpdateSiteAdapter {
29     /**
30      * Returns the presentation string that can be used
31      * for this site.
32      * @return the update site label
33      */

34     public String JavaDoc getLabel();
35     /**
36      * Returns the URL of the update site.
37      * @return the URL of the update site.
38      */

39     public URL getURL();
40 }
41
Popular Tags