Interface IRawArtifactFileProvider
-
- All Superinterfaces:
IArtifactFileProvider
,IArtifactProvider
,org.eclipse.equinox.p2.query.IQueryable<org.eclipse.equinox.p2.metadata.IArtifactKey>
,IRawArtifactProvider
- All Known Implementing Classes:
ArtifactRepositoryBaseImpl
,CompositeArtifactProvider
,FileRepositoryArtifactProvider
,LocalArtifactRepository
,MirroringArtifactProvider
,ModuleArtifactRepository
,PackedFormatMirroringArtifactProvider
,ProviderOnlyArtifactRepository
,TargetPlatformBundlePublisher.PublishedBundlesArtifactRepository
public interface IRawArtifactFileProvider extends IArtifactFileProvider, IRawArtifactProvider
Provider for artifact files in different formats.Over
IArtifactFileProvider
, this interface adds methods for obtaining artifacts in raw formats, e.g. compressed with the JAR-optimized pack200 format. (With the IArtifactFileProvider interface, artifacts can only be obtained in the canonical format, i.e. the format in which the artifact can be used directly without additional decompression.)Over
IRawArtifactProvider
, this interface adds a method for obtaining the artifacts as files in the local file system. (With the IRawArtifactProvider interface, artifacts can only be obtained as stream.)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.File
getArtifactFile(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor)
Returns the file system location of the given artifact in the given format.-
Methods inherited from interface org.eclipse.tycho.repository.p2base.artifact.provider.IArtifactFileProvider
getArtifactFile
-
Methods inherited from interface org.eclipse.tycho.repository.p2base.artifact.provider.IArtifactProvider
contains, getArtifact
-
Methods inherited from interface org.eclipse.tycho.repository.p2base.artifact.provider.IRawArtifactProvider
contains, getArtifactDescriptors, getRawArtifact
-
-
-
-
Method Detail
-
getArtifactFile
java.io.File getArtifactFile(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor)
Returns the file system location of the given artifact in the given format.- Parameters:
descriptor
- The key and format of an artifact- Returns:
- The location of the specified raw artifact, or
null
the that artifact does not exist in the given format.
-
-