public class UnparsedZipEntryExtraFieldParser extends Object implements ZipEntryExtraFieldParser
UnparsedZipEntryExtraField
objects.UnparsedZipEntryExtraField
Modifier and Type | Field and Description |
---|---|
static UnparsedZipEntryExtraFieldParser |
INSTANCE
Singleton instance that may be used instead of instantiating this class.
|
Constructor and Description |
---|
UnparsedZipEntryExtraFieldParser() |
Modifier and Type | Method and Description |
---|---|
UnsignedShort |
getCode()
This parser does not have a code.
|
UnparsedZipEntryExtraField |
parse(byte[] barr,
boolean inLocalHeader)
Parse the extra field data and create a
ZipEntryExtraField
object. |
public static final UnparsedZipEntryExtraFieldParser INSTANCE
public UnsignedShort getCode()
getCode
in interface ZipEntryExtraFieldParser
public UnparsedZipEntryExtraField parse(byte[] barr, boolean inLocalHeader)
ZipEntryExtraFieldParser
ZipEntryExtraField
object.parse
in interface ZipEntryExtraFieldParser
barr
- A byte array containing the extra field data. This array does
not contain the initial four bytes identifying the extra field
type and the extra field size.inLocalHeader
- Is the extra field from the Zip entry's local header
(true
) of from the central header (false
)?UnparsedZipEntryExtraField
object.