Interface IRawArtifactFileProvider

All Superinterfaces:
IArtifactFileProvider, IArtifactProvider, org.eclipse.equinox.p2.query.IQueryable<org.eclipse.equinox.p2.metadata.IArtifactKey>, IRawArtifactProvider

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. (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 Details

    • getArtifactFile

      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, ornull the that artifact does not exist in the given format.