|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.portlets.user.homelibrary.util.zip.zipmodel.AbstractZipItem
public abstract class AbstractZipItem
| Field Summary | |
|---|---|
protected String |
comment
|
protected byte[] |
extra
|
protected String |
name
|
protected ZipFolder |
parent
|
protected ZipItemType |
type
|
| Constructor Summary | |
|---|---|
AbstractZipItem(String name,
ZipItemType type,
String comment)
|
|
AbstractZipItem(ZipFolder parent,
String name,
ZipItemType type,
String comment,
byte[] extra)
|
|
| Method Summary | |
|---|---|
String |
getComment()
Return this item comment. |
byte[] |
getExtra()
Return this item extra field. |
String |
getName()
Return this item name. |
ZipFolder |
getParent()
Return this item parent. |
String |
getPath()
return this item path. |
ZipItemType |
getType()
Return this item type. |
void |
setName(String name)
Sets the item name. |
void |
setParent(ZipFolder parent)
Set this item parent. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected ZipFolder parent
protected String name
protected ZipItemType type
protected String comment
protected byte[] extra
| Constructor Detail |
|---|
public AbstractZipItem(ZipFolder parent,
String name,
ZipItemType type,
String comment,
byte[] extra)
parent - the item parent.name - the item name.type - the item type.comment - the item comment.extra - the extra field.
public AbstractZipItem(String name,
ZipItemType type,
String comment)
name - the item name.type - the item type.comment - the item comment.| Method Detail |
|---|
public ZipFolder getParent()
getParent in interface ZipItempublic void setParent(ZipFolder parent)
setParent in interface ZipItemparent - the parent.public String getComment()
getComment in interface ZipItempublic byte[] getExtra()
getExtra in interface ZipItempublic String getName()
getName in interface ZipItempublic void setName(String name)
setName in interface ZipItemname - the item name.public ZipItemType getType()
getType in interface ZipItempublic String getPath()
getPath in interface ZipItempublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||