org.gcube.portlets.user.homelibrary.util.zip.zipmodel
Class ZipFolder
java.lang.Object
org.gcube.portlets.user.homelibrary.util.zip.zipmodel.AbstractZipItem
org.gcube.portlets.user.homelibrary.util.zip.zipmodel.ZipFolder
- All Implemented Interfaces:
- ZipItem
public class ZipFolder
- extends AbstractZipItem
- Author:
- Federico De Faveri defaveri@isti.cnr.it
children
protected List<ZipItem> children
ZipFolder
public ZipFolder(ZipFolder parent,
String name,
String comment,
byte[] extra)
- Create an instance of Zip Folder.
- Parameters:
parent - the folder parent.name - the folder name.comment - the folder comment.extra - the folder extra field.
ZipFolder
public ZipFolder(String name,
String comment)
- Create an instance of Zip Folder.
- Parameters:
name - the folder name.comment - the folder comment.
addChild
public void addChild(ZipItem child)
- Parameters:
child - the child to add.
getChildren
public List<ZipItem> getChildren()
- Returns:
- the children list.
Copyright © 2013. All Rights Reserved.