public class ExtendedTimestampExtraFieldParser extends Object implements ZipEntryExtraFieldParser
ExtendedTimestampExtraField.ExtendedTimestampExtraField| Modifier and Type | Field and Description |
|---|---|
static ExtendedTimestampExtraFieldParser |
INSTANCE
Singleton instance that may be used instead of instantiating this class.
|
| Constructor and Description |
|---|
ExtendedTimestampExtraFieldParser() |
| Modifier and Type | Method and Description |
|---|---|
UnsignedShort |
getCode()
Get the code that identifies the kind of
ZipEntryExtraField
objects created by this factory. |
ExtendedTimestampExtraField |
parse(byte[] barr,
boolean inLocalHeader)
Parse the extra field data and create a
ZipEntryExtraField
object. |
public static final ExtendedTimestampExtraFieldParser INSTANCE
public UnsignedShort getCode()
ZipEntryExtraFieldParserZipEntryExtraField
objects created by this factory.getCode in interface ZipEntryExtraFieldParserpublic ExtendedTimestampExtraField parse(byte[] barr, boolean inLocalHeader)
ZipEntryExtraFieldParserZipEntryExtraField
object.parse in interface ZipEntryExtraFieldParserbarr - 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)?