public class ZipOutputSupplier extends java.lang.Object implements OutputSupplier
| Constructor and Description |
|---|
ZipOutputSupplier(java.io.File out) |
ZipOutputSupplier(java.util.zip.ZipOutputStream stream) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.io.OutputStream |
getOutput(java.lang.String relPath)
Opens an output stream to the specified resource.
|
public ZipOutputSupplier(java.io.File out)
throws java.io.IOException
java.io.IOExceptionpublic ZipOutputSupplier(java.util.zip.ZipOutputStream stream)
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic java.io.OutputStream getOutput(java.lang.String relPath)
OutputSuppliergetOutput in interface OutputSupplierrelPath - Reative path seperated with '/' and having no preceding slash.