All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hl7.fhir.utilities.npm.IPackageCacheManager Maven / Gradle / Ivy

There is a newer version: 6.4.1
Show newest version
package org.hl7.fhir.utilities.npm;

import java.io.IOException;
import java.io.InputStream;

import org.hl7.fhir.exceptions.FHIRException;

public interface IPackageCacheManager {

  String getPackageId(String canonicalUrl) throws IOException;

  NpmPackage addPackageToCache(String id, String version, InputStream packageTgzInputStream, String sourceDesc) throws IOException;

  String getPackageUrl(String packageId) throws IOException;

  NpmPackage loadPackage(String id, String version) throws FHIRException, IOException;
  
  /**
   * 
   * @param idAndVer - use id#ver
   * @return
   * @throws FHIRException
   * @throws IOException
   */
  NpmPackage loadPackage(String idAndVer) throws FHIRException, IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy