public class NPMPackageGenerator extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
NPMPackageGenerator.Category |
| Constructor and Description |
|---|
NPMPackageGenerator(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) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFile(NPMPackageGenerator.Category cat,
String name,
byte[] content) |
String |
filename() |
void |
finish() |
void |
loadDir(String rootDir,
String name) |
void |
loadFiles(String root,
File dir,
String... noload) |
static NPMPackageGenerator |
subset(NPMPackageGenerator master,
String destFile,
String id,
String name) |
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
org.hl7.fhir.exceptions.FHIRExceptionIOExceptionpublic 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
org.hl7.fhir.exceptions.FHIRExceptionIOExceptionpublic NPMPackageGenerator(String destFile, com.google.gson.JsonObject npm) throws org.hl7.fhir.exceptions.FHIRException, IOException
org.hl7.fhir.exceptions.FHIRExceptionIOExceptionpublic static NPMPackageGenerator subset(NPMPackageGenerator master, String destFile, String id, String name) throws org.hl7.fhir.exceptions.FHIRException, IOException
org.hl7.fhir.exceptions.FHIRExceptionIOExceptionpublic void addFile(NPMPackageGenerator.Category cat, String name, byte[] content) throws IOException
IOExceptionpublic void finish() throws IOException
IOExceptionpublic void loadDir(String rootDir, String name) throws IOException
IOExceptionpublic void loadFiles(String root, File dir, String... noload) throws IOException
IOExceptionCopyright © 2014–2021 Health Level 7. All rights reserved.