Package org.hl7.fhir.r5.utils
Class NPMPackageGenerator
java.lang.Object
org.hl7.fhir.r5.utils.NPMPackageGenerator
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionNPMPackageGenerator
(String destFile, String canonical, String url, org.hl7.fhir.utilities.npm.PackageGenerator.PackageType kind, ImplementationGuide ig, Date date, boolean notForPublication) NPMPackageGenerator
(String destFile, String canonical, String url, org.hl7.fhir.utilities.npm.PackageGenerator.PackageType kind, ImplementationGuide ig, Date date, List<String> fhirVersion, boolean notForPublication) NPMPackageGenerator
(String destFile, org.hl7.fhir.utilities.json.model.JsonObject npm, Date date, boolean notForPublication) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addFile
(NPMPackageGenerator.Category cat, String name, byte[] content) filename()
void
finish()
void
void
static NPMPackageGenerator
subset
(NPMPackageGenerator master, String destFile, String id, String name, Date date, boolean notForPublication) version()
-
Constructor Details
-
NPMPackageGenerator
public NPMPackageGenerator(String destFile, String canonical, String url, org.hl7.fhir.utilities.npm.PackageGenerator.PackageType kind, ImplementationGuide ig, Date date, boolean notForPublication) 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, Date date, List<String> fhirVersion, boolean notForPublication) throws org.hl7.fhir.exceptions.FHIRException, IOException - Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-
NPMPackageGenerator
public NPMPackageGenerator(String destFile, org.hl7.fhir.utilities.json.model.JsonObject npm, Date date, boolean notForPublication) 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, Date date, boolean notForPublication) 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
-
addFile
- Throws:
IOException
-
finish
- Throws:
IOException
-
filename
-
loadDir
- Throws:
IOException
-
loadFiles
- Throws:
IOException
-
version
-