Package org.eclipse.cbi.common.util
Class ZipPosixPermissionFixer.CentralDirectoryHeader
java.lang.Object
com.google.common.collect.ForwardingObject
org.eclipse.cbi.common.util.Record.Fowarding
org.eclipse.cbi.common.util.ZipPosixPermissionFixer.CentralDirectoryHeader
- All Implemented Interfaces:
Record
- Enclosing class:
ZipPosixPermissionFixer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static enum0 - MS-DOS and OS/2 (FAT / VFAT / FAT32 file systems) 1 - Amiga 2 - OpenVMS 3 - UNIX 4 - VM/CMS 5 - Atari ST 6 - OS/2 H.P.F.S.Nested classes/interfaces inherited from interface org.eclipse.cbi.common.util.Record
Record.Fowarding -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RecordDefinition.Fieldstatic final RecordDefinition.Fieldstatic final RecordDefinition.Fieldstatic final RecordDefinition.Fieldstatic final RecordDefinitionstatic final RecordDefinition.Fieldstatic final RecordDefinition.Fieldstatic final RecordDefinition.Fieldstatic final RecordDefinition.Fieldstatic final RecordDefinition.Fieldstatic final RecordDefinition.Fieldstatic final RecordDefinition.Fieldstatic final RecordDefinition.Fieldstatic final RecordDefinition.Fieldstatic final RecordDefinition.Fieldstatic final RecordDefinition.Fieldstatic final RecordDefinition.Fieldstatic final RecordDefinition.Fieldprivate static final longDirectory entry signature (aka "central file header signature", section 4.3.12 APPNOTE.TXT)static final RecordDefinition.Fieldstatic final RecordDefinition.Fieldstatic final RecordDefinition.Field -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.primitives.UnsignedIntegerfilename()intThe lower byte indicates the ZIP specification version (the version of this document) supported by the software used to encode the file.intThe lower byte indicates the ZIP specification version (the version of this document) supported by the software used to encode the file.platform()The upper byte indicates the compatibility of the file attribute information.intMethods inherited from class org.eclipse.cbi.common.util.Record.Fowarding
delegate, size, stringValue, uint16Value, uint32Value, uint64ValueMethods inherited from class com.google.common.collect.ForwardingObject
toString
-
Field Details
-
SIGNATURE
private static final long SIGNATUREDirectory entry signature (aka "central file header signature", section 4.3.12 APPNOTE.TXT)- See Also:
-
CFHS
-
VMB
-
VNTE
-
GPBF
-
CM
-
LMFT
-
LMFD
-
CRC32
-
CS
-
UCS
-
FNL
-
EFL
-
FCL
-
DNS
-
IFA
-
EFA
-
ROOLH
-
FN
-
EF
-
FC
-
DEFINITION
-
-
Constructor Details
-
CentralDirectoryHeader
-
-
Method Details
-
versionMadeBy
public int versionMadeBy() -
platform
The upper byte indicates the compatibility of the file attribute information. If the external file attributes are compatible with MS-DOS and can be read by PKZIP for DOS version 2.04g then this value will be zero. If these attributes are not compatible, then this value will identify the host system on which the attributes are compatible. Software can use this information to determine the line record format for text files etc.- Returns:
-
majorVersion
public int majorVersion()The lower byte indicates the ZIP specification version (the version of this document) supported by the software used to encode the file. The value/10 indicates the major version number, and the value mod 10 is the minor version number.- Returns:
-
minorVersion
public int minorVersion()The lower byte indicates the ZIP specification version (the version of this document) supported by the software used to encode the file. The value/10 indicates the major version number, and the value mod 10 is the minor version number.- Returns:
-
externalFileAttributes
public com.google.common.primitives.UnsignedInteger externalFileAttributes() -
posixPermissions
-
filename
-