Package org.hl7.fhir.r4.utils
Class NPMPackageGenerator
java.lang.Object
org.hl7.fhir.r4.utils.NPMPackageGenerator
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionNPMPackageGenerator
(String destFile, com.google.gson.JsonObject npm) NPMPackageGenerator
(String destFile, String canonical, String url, org.hl7.fhir.utilities.npm.PackageGenerator.PackageType kind, ImplementationGuide ig, String genDate) NPMPackageGenerator
(String destFile, String canonical, String url, org.hl7.fhir.utilities.npm.PackageGenerator.PackageType kind, ImplementationGuide ig, String genDate, List<String> fhirVersion) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addFile
(NPMPackageGenerator.Category cat, String name, byte[] content) filename()
void
finish()
void
void
static NPMPackageGenerator
subset
(NPMPackageGenerator master, String destFile, String id, String name)
-
Constructor Details
-
NPMPackageGenerator
public NPMPackageGenerator(String destFile, String canonical, String url, org.hl7.fhir.utilities.npm.PackageGenerator.PackageType kind, ImplementationGuide ig, String genDate) throws org.hl7.fhir.exceptions.FHIRException, IOException - Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-
NPMPackageGenerator
public NPMPackageGenerator(String destFile, String canonical, String url, org.hl7.fhir.utilities.npm.PackageGenerator.PackageType kind, ImplementationGuide ig, String genDate, List<String> fhirVersion) throws org.hl7.fhir.exceptions.FHIRException, IOException - Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-
NPMPackageGenerator
public NPMPackageGenerator(String destFile, com.google.gson.JsonObject npm) throws org.hl7.fhir.exceptions.FHIRException, IOException - Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-
-
Method Details
-
subset
public static NPMPackageGenerator subset(NPMPackageGenerator master, String destFile, String id, String name) throws org.hl7.fhir.exceptions.FHIRException, IOException - Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-
addFile
public void addFile(NPMPackageGenerator.Category cat, String name, byte[] content) throws IOException - Throws:
IOException
-
finish
- Throws:
IOException
-
filename
-
loadDir
- Throws:
IOException
-
loadFiles
- Throws:
IOException
-