|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.apache.tools.zip.UnrecognizedExtraField
Simple placeholder for all those extra fields we don't want to deal with.
Assumes local file data and central directory entries are identical - unless told the opposite.
| Constructor Summary | |
UnrecognizedExtraField()
|
|
| Method Summary | |
byte[] |
getCentralDirectoryData()
The actual data to put central directory - without Header-ID or length specifier. |
ZipShort |
getCentralDirectoryLength()
Length of the extra field in the central directory - without Header-ID or length specifier. |
ZipShort |
getHeaderId()
The Header-ID. |
byte[] |
getLocalFileDataData()
The actual data to put into local file data - without Header-ID or length specifier. |
ZipShort |
getLocalFileDataLength()
Length of the extra field in the local file data - without Header-ID or length specifier. |
void |
parseFromLocalFileData(byte[] data,
int offset,
int length)
Populate data from this array as if it was in local file data. |
void |
setCentralDirectoryData(byte[] data)
|
void |
setHeaderId(ZipShort headerId)
|
void |
setLocalFileDataData(byte[] data)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UnrecognizedExtraField()
| Method Detail |
public void setHeaderId(ZipShort headerId)
public ZipShort getHeaderId()
ZipExtraField
getHeaderId in interface ZipExtraFieldpublic void setLocalFileDataData(byte[] data)
public ZipShort getLocalFileDataLength()
ZipExtraField
getLocalFileDataLength in interface ZipExtraFieldpublic byte[] getLocalFileDataData()
ZipExtraField
getLocalFileDataData in interface ZipExtraFieldpublic void setCentralDirectoryData(byte[] data)
public ZipShort getCentralDirectoryLength()
ZipExtraField
getCentralDirectoryLength in interface ZipExtraFieldpublic byte[] getCentralDirectoryData()
ZipExtraField
getCentralDirectoryData in interface ZipExtraField
public void parseFromLocalFileData(byte[] data,
int offset,
int length)
ZipExtraField
parseFromLocalFileData in interface ZipExtraField
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||