Eclipse Platform
2.0

org.eclipse.update.core
Class SiteContentProvider

java.lang.Object
  |
  +--org.eclipse.update.core.SiteContentProvider
All Implemented Interfaces:
ISiteContentProvider

public abstract class SiteContentProvider
extends Object
implements ISiteContentProvider

Base site content provider


Constructor Summary
SiteContentProvider(URL url)
          Constructor for SiteContentProvider.
 
Method Summary
 URL getArchiveReference(String archiveID)
          Returns a URL for the identified archive.
 ISite getSite()
          Returns the site for this provider.
 URL getURL()
          Returns the URL of this site
 void setSite(ISite site)
          Sets the site for this provider.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SiteContentProvider

public SiteContentProvider(URL url)
Constructor for SiteContentProvider.

Method Detail

getURL

public URL getURL()
Returns the URL of this site

Specified by:
getURL in interface ISiteContentProvider
Returns:
site URL
Since:
2.0
See Also:
ISiteContentProvider.getURL()

getArchiveReference

public URL getArchiveReference(String archiveID)
                        throws CoreException
Returns a URL for the identified archive.

Specified by:
getArchiveReference in interface ISiteContentProvider
Parameters:
archiveID - archive identifier
Returns:
archive URL, or null.
Throws:
CoreException
Since:
2.0
See Also:
ISiteContentProvider#getArchivesReferences(String)

getSite

public ISite getSite()
Returns the site for this provider.

Specified by:
getSite in interface ISiteContentProvider
Returns:
provider site
Since:
2.0
See Also:
ISiteContentProvider.getSite()

setSite

public void setSite(ISite site)
Sets the site for this provider.

Specified by:
setSite in interface ISiteContentProvider
Parameters:
site - site for this provider
Since:
2.0

Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.