public interface IRawArtifactFileProvider extends IArtifactFileProvider, IRawArtifactProvider
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.)
Modifier and Type | Method and Description |
---|---|
File |
getArtifactFile(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor)
Returns the file system location of the given artifact in the given format.
|
getArtifactFile
contains, getArtifactDescriptors, getRawArtifact
contains, getArtifact
File getArtifactFile(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor)
descriptor
- The key and format of an artifactnull
the that artifact
does not exist in the given format.Copyright © 2008–2015 Eclipse Foundation. All rights reserved.