| Modifier and Type | Field and Description |
|---|---|
protected String |
comment |
protected byte[] |
extra |
protected String |
name |
protected ZipFolder |
parent |
protected ZipItemType |
type |
| Constructor and Description |
|---|
AbstractZipItem(String name,
ZipItemType type,
String comment) |
AbstractZipItem(ZipFolder parent,
String name,
ZipItemType type,
String comment,
byte[] extra) |
| Modifier and Type | Method and Description |
|---|---|
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() |
protected ZipFolder parent
protected String name
protected ZipItemType type
protected String comment
protected byte[] extra
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.public ZipFolder getParent()
public void setParent(ZipFolder parent)
public String getComment()
getComment in interface ZipItempublic byte[] getExtra()
public String getName()
public void setName(String name)
public ZipItemType getType()
public String getPath()
Copyright © 2020. All Rights Reserved.