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 skipRoot) |
protected void |
addZipFolder(ZipOutputStream zos,
ZipFolder folder,
boolean skipRoot) |
protected void |
addZipItem(ZipOutputStream zos,
ZipItem item,
boolean skipRoot) |
File |
writeItem(ZipItem item,
boolean skipRoot) |
public File writeItem(ZipItem item, boolean skipRoot) throws IOException
IOExceptionprotected void addZipItem(ZipOutputStream zos, ZipItem item, boolean skipRoot) throws IOException
IOExceptionprotected void addZipFolder(ZipOutputStream zos, ZipFolder folder, boolean skipRoot) throws IOException
IOExceptionprotected void addZipFile(ZipOutputStream zos, ZipFile file, boolean skipRoot) throws IOException
IOExceptionCopyright © 2020. All Rights Reserved.