1 11 package org.eclipse.update.core; 12 13 import java.net.URL ; 14 15 import org.eclipse.core.runtime.CoreException; 16 17 50 public interface IFeatureContentProvider { 51 52 61 public URL getURL(); 62 63 76 public ContentReference getFeatureManifestReference(InstallMonitor monitor) 77 throws CoreException; 78 79 94 public ContentReference[] getArchiveReferences(InstallMonitor monitor) 95 throws CoreException; 96 97 122 public ContentReference[] getFeatureEntryArchiveReferences(InstallMonitor monitor) 123 throws CoreException; 124 125 142 public ContentReference[] getPluginEntryArchiveReferences( 143 IPluginEntry pluginEntry, 144 InstallMonitor monitor) 145 throws CoreException; 146 147 172 public ContentReference[] getNonPluginEntryArchiveReferences( 173 INonPluginEntry nonPluginEntry, 174 InstallMonitor monitor) 175 throws CoreException; 176 177 190 public ContentReference[] getFeatureEntryContentReferences(InstallMonitor monitor) 191 throws CoreException; 192 193 203 public ContentReference[] getPluginEntryContentReferences( 204 IPluginEntry pluginEntry, 205 InstallMonitor monitor) 206 throws CoreException; 207 208 219 public long getDownloadSizeFor( 220 IPluginEntry[] pluginEntries, 221 INonPluginEntry[] nonPluginEntries); 222 223 234 public long getInstallSizeFor( 235 IPluginEntry[] pluginEntries, 236 INonPluginEntry[] nonPluginEntries); 237 238 249 public IVerifier getVerifier() throws CoreException; 250 251 257 public IFeature getFeature(); 258 259 267 public void setFeature(IFeature feature); 268 } 269 | Popular Tags |