public class ZipModelWriter extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
ZipModelWriter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addZipFile(ZipOutputStream zos,
ZipFile file,
boolean flag) |
protected void |
addZipFolder(ZipOutputStream zos,
ZipFolder folder,
boolean flag) |
protected void |
addZipItem(ZipOutputStream zos,
ZipItem item,
boolean flag) |
File |
writeItem(ZipItem item,
boolean flag) |
public File writeItem(ZipItem item, boolean flag) throws IOException
IOExceptionprotected void addZipItem(ZipOutputStream zos, ZipItem item, boolean flag) throws IOException
IOExceptionprotected void addZipFolder(ZipOutputStream zos, ZipFolder folder, boolean flag) throws IOException
IOExceptionprotected void addZipFile(ZipOutputStream zos, ZipFile file, boolean flag) throws IOException
IOExceptionCopyright © 2016. All Rights Reserved.