Package org.hl7.fhir.utilities
Class ZipGenerator
java.lang.Object
org.hl7.fhir.utilities.ZipGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddFileName(String statedPath, String actualPath, boolean omitIfExists) voidvoidaddFilesFiltered(String actualDir, String statedDir, String ext, String[] noExt) voidaddFileSource(String path, String cnt, boolean omitIfExists) voidvoidvoidaddFromZip(String zipFilename) voidaddMimeTypeFile(String statedPath, String actualPath) voidaddStream(String statedPath, InputStream fi, boolean omitIfExists) voidclose()
-
Constructor Details
-
ZipGenerator
- Throws:
IOException
-
-
Method Details
-
close
- Throws:
IOException
-
addFromZip
- Throws:
IOException
-
addFolder
- Throws:
IOException
-
addFolder
public void addFolder(String actualDir, String statedDir, boolean omitIfExists, String noExt) throws IOException - Throws:
IOException
-
addFiles
public void addFiles(String actualDir, String statedDir, String ext, String noExt) throws FileNotFoundException, IOException - Throws:
FileNotFoundExceptionIOException
-
addFilesFiltered
public void addFilesFiltered(String actualDir, String statedDir, String ext, String[] noExt) throws FileNotFoundException, IOException - Throws:
FileNotFoundExceptionIOException
-
addFileSource
- Throws:
IOException
-
addFileName
public void addFileName(String statedPath, String actualPath, boolean omitIfExists) throws IOException - Throws:
IOException
-
addBytes
- Throws:
IOException
-
addMimeTypeFile
- Throws:
IOException
-
addStream
- Throws:
IOException
-