|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.at4j.zip.ef.UnparsedZipEntryExtraField
public class UnparsedZipEntryExtraField
This extra field object is used when the Zip file parser encounters an extra field type that is not supported. This object contains the unparsed extra field data.
| Constructor Summary | |
|---|---|
UnparsedZipEntryExtraField(byte[] data,
boolean inLocalHeader)
Create a new unparsed extra field object. |
|
| Method Summary | |
|---|---|
byte[] |
encode(ZipBuilderConfiguration builder)
Encode this extra field's data for storing in a Zip file. |
byte[] |
getData()
Get the unparsed data for this extra field. |
boolean |
isInLocalHeader()
Is this field stored in the Zip entry's local header or in the Zip file's central directory record? |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UnparsedZipEntryExtraField(byte[] data,
boolean inLocalHeader)
data - The unparsed data.inLocalHeader - Is this field in the Zip entry's local header or in
the Zip file's central directory.| Method Detail |
|---|
public byte[] getData()
public boolean isInLocalHeader()
ZipEntryExtraField
The same ZipEntryExtraField type may have different properties
depending on if it is specified in the local or in the central header.
isInLocalHeader in interface ZipEntryExtraFieldtrue if this extra field comes from the Zip entry's local
header. false if it comes from the Zip file's central directory.public byte[] encode(ZipBuilderConfiguration builder)
ZipEntryExtraField
encode in interface ZipEntryExtraFieldbuilder - The configuration for the Zip builder object that is building
the Zip file.
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||