org.gcube.portlets.user.homelibrary.util.zip
Class ZipModelWriter

java.lang.Object
  extended by org.gcube.portlets.user.homelibrary.util.zip.ZipModelWriter

public class ZipModelWriter
extends Object

Author:
Federico De Faveri defaveri@isti.cnr.it

Field Summary
protected  org.apache.log4j.Logger logger
           
 
Constructor Summary
ZipModelWriter()
           
 
Method Summary
protected  void addZipFile(ZipOutputStream zos, ZipFile file)
           
protected  void addZipFolder(ZipOutputStream zos, ZipFolder folder)
           
protected  void addZipItem(ZipOutputStream zos, ZipItem item)
           
 File writeItem(ZipItem item)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected org.apache.log4j.Logger logger
Constructor Detail

ZipModelWriter

public ZipModelWriter()
Method Detail

writeItem

public File writeItem(ZipItem item)
               throws IOException
Throws:
IOException

addZipItem

protected void addZipItem(ZipOutputStream zos,
                          ZipItem item)
                   throws IOException
Throws:
IOException

addZipFolder

protected void addZipFolder(ZipOutputStream zos,
                            ZipFolder folder)
                     throws IOException
Throws:
IOException

addZipFile

protected void addZipFile(ZipOutputStream zos,
                          ZipFile file)
                   throws IOException
Throws:
IOException


Copyright © 2013. All Rights Reserved.