org.at4j.zip
Class ZipEntryCentralFileHeaderData
java.lang.Object
org.at4j.zip.ZipEntryCentralFileHeaderData
public class ZipEntryCentralFileHeaderData
- extends Object
This bean contains the data stored about a Zip entry in the Zip file central
directory.. It is used by the ZipFileParser
to create an appropriate
ZipEntry
object from.
This is part of the ZipFile
implementations. Clients should not have
to bother with this object.
- Since:
- 1.0
- Author:
- Karl Gustafsson
- See Also:
ZipEntryLocalFileHeaderData
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZipEntryCentralFileHeaderData
public ZipEntryCentralFileHeaderData()
setVersionUsedToCreate
public void setVersionUsedToCreate(UnsignedByte versionUsedToCreate)
getVersionUsedToCreate
public UnsignedByte getVersionUsedToCreate()
getVersionNeededToExtract
public UnsignedByte getVersionNeededToExtract()
setVersionNeededToExtract
public void setVersionNeededToExtract(UnsignedByte versionNeededToExtract)
getGeneralPurposeBitFlags
public ZipGeneralPurposeBitFlags getGeneralPurposeBitFlags()
setGeneralPurposeBitFlags
public void setGeneralPurposeBitFlags(ZipGeneralPurposeBitFlags generalPurposeBitFlags)
getCompressionMethod
public ZipEntryCompressionMethod getCompressionMethod()
setCompressionMethod
public void setCompressionMethod(ZipEntryCompressionMethod compressionMethod)
getLastModificationTime
public Date getLastModificationTime()
setLastModificationTime
public void setLastModificationTime(Date lastModificationTime)
getCrc32
public UnsignedInteger getCrc32()
setCrc32
public void setCrc32(UnsignedInteger crc32)
getCompressedSize
public UnsignedInteger getCompressedSize()
setCompressedSize
public void setCompressedSize(UnsignedInteger compressedSize)
getUncompressedSize
public UnsignedInteger getUncompressedSize()
setUncompressedSize
public void setUncompressedSize(UnsignedInteger uncompressedSize)
getDiskNumberStart
public UnsignedShort getDiskNumberStart()
setDiskNumberStart
public void setDiskNumberStart(UnsignedShort diskNumberStart)
getInternalFileAttributes
public ZipInternalFileAttributes getInternalFileAttributes()
setInternalFileAttributes
public void setInternalFileAttributes(ZipInternalFileAttributes internalFileAttributes)
getExternalFileAttributes
public ZipExternalFileAttributes getExternalFileAttributes()
setExternalFileAttributes
public void setExternalFileAttributes(ZipExternalFileAttributes externalFileAttributes)
getRelativeOffsetOfLocalHeader
public UnsignedInteger getRelativeOffsetOfLocalHeader()
setRelativeOffsetOfLocalHeader
public void setRelativeOffsetOfLocalHeader(UnsignedInteger relativeOffsetOfLocalHeader)
getLocation
public AbsoluteLocation getLocation()
setLocation
public void setLocation(AbsoluteLocation location)
getExtraFields
public Collection<ZipEntryExtraField> getExtraFields()
setExtraFields
public void setExtraFields(Collection<ZipEntryExtraField> extraFields)
getFileComment
public String getFileComment()
setFileComment
public void setFileComment(String fileComment)
isDirectory
public boolean isDirectory()
setDirectory
public void setDirectory(boolean directory)