net.lingala.zip4j.model
Class LocalFileHeader

java.lang.Object
  extended by net.lingala.zip4j.model.LocalFileHeader

public class LocalFileHeader
extends Object


Constructor Summary
LocalFileHeader()
           
 
Method Summary
 AESExtraDataRecord getAesExtraDataRecord()
           
 long getCompressedSize()
           
 int getCompressionMethod()
           
 long getCrc32()
           
 byte[] getCrcBuff()
           
 int getEncryptionMethod()
           
 ArrayList getExtraDataRecords()
           
 byte[] getExtraField()
           
 int getExtraFieldLength()
           
 String getFileName()
           
 int getFileNameLength()
           
 byte[] getGeneralPurposeFlag()
           
 int getLastModFileTime()
           
 long getOffsetStartOfData()
           
 char[] getPassword()
           
 int getSignature()
           
 long getUncompressedSize()
           
 int getVersionNeededToExtract()
           
 Zip64ExtendedInfo getZip64ExtendedInfo()
           
 boolean isDataDescriptorExists()
           
 boolean isEncrypted()
           
 boolean isFileNameUTF8Encoded()
           
 boolean isWriteComprSizeInZip64ExtraRecord()
           
 void setAesExtraDataRecord(AESExtraDataRecord aesExtraDataRecord)
           
 void setCompressedSize(long compressedSize)
           
 void setCompressionMethod(int compressionMethod)
           
 void setCrc32(long crc32)
           
 void setCrcBuff(byte[] crcBuff)
           
 void setDataDescriptorExists(boolean dataDescriptorExists)
           
 void setEncrypted(boolean isEncrypted)
           
 void setEncryptionMethod(int encryptionMethod)
           
 void setExtraDataRecords(ArrayList extraDataRecords)
           
 void setExtraField(byte[] extraField)
           
 void setExtraFieldLength(int extraFieldLength)
           
 void setFileName(String fileName)
           
 void setFileNameLength(int fileNameLength)
           
 void setFileNameUTF8Encoded(boolean fileNameUTF8Encoded)
           
 void setGeneralPurposeFlag(byte[] generalPurposeFlag)
           
 void setLastModFileTime(int lastModFileTime)
           
 void setOffsetStartOfData(long offsetStartOfData)
           
 void setPassword(char[] password)
           
 void setSignature(int signature)
           
 void setUncompressedSize(long uncompressedSize)
           
 void setVersionNeededToExtract(int versionNeededToExtract)
           
 void setWriteComprSizeInZip64ExtraRecord(boolean writeComprSizeInZip64ExtraRecord)
           
 void setZip64ExtendedInfo(Zip64ExtendedInfo zip64ExtendedInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalFileHeader

public LocalFileHeader()
Method Detail

getSignature

public int getSignature()

setSignature

public void setSignature(int signature)

getVersionNeededToExtract

public int getVersionNeededToExtract()

setVersionNeededToExtract

public void setVersionNeededToExtract(int versionNeededToExtract)

getGeneralPurposeFlag

public byte[] getGeneralPurposeFlag()

setGeneralPurposeFlag

public void setGeneralPurposeFlag(byte[] generalPurposeFlag)

getCompressionMethod

public int getCompressionMethod()

setCompressionMethod

public void setCompressionMethod(int compressionMethod)

getLastModFileTime

public int getLastModFileTime()

setLastModFileTime

public void setLastModFileTime(int lastModFileTime)

getCrc32

public long getCrc32()

setCrc32

public void setCrc32(long crc32)

getCompressedSize

public long getCompressedSize()

setCompressedSize

public void setCompressedSize(long compressedSize)

getUncompressedSize

public long getUncompressedSize()

setUncompressedSize

public void setUncompressedSize(long uncompressedSize)

getFileNameLength

public int getFileNameLength()

setFileNameLength

public void setFileNameLength(int fileNameLength)

getExtraFieldLength

public int getExtraFieldLength()

setExtraFieldLength

public void setExtraFieldLength(int extraFieldLength)

getFileName

public String getFileName()

setFileName

public void setFileName(String fileName)

getExtraField

public byte[] getExtraField()

setExtraField

public void setExtraField(byte[] extraField)

getOffsetStartOfData

public long getOffsetStartOfData()

setOffsetStartOfData

public void setOffsetStartOfData(long offsetStartOfData)

isEncrypted

public boolean isEncrypted()

setEncrypted

public void setEncrypted(boolean isEncrypted)

getEncryptionMethod

public int getEncryptionMethod()

setEncryptionMethod

public void setEncryptionMethod(int encryptionMethod)

getCrcBuff

public byte[] getCrcBuff()

setCrcBuff

public void setCrcBuff(byte[] crcBuff)

getPassword

public char[] getPassword()

setPassword

public void setPassword(char[] password)

getExtraDataRecords

public ArrayList getExtraDataRecords()

setExtraDataRecords

public void setExtraDataRecords(ArrayList extraDataRecords)

isDataDescriptorExists

public boolean isDataDescriptorExists()

setDataDescriptorExists

public void setDataDescriptorExists(boolean dataDescriptorExists)

getZip64ExtendedInfo

public Zip64ExtendedInfo getZip64ExtendedInfo()

setZip64ExtendedInfo

public void setZip64ExtendedInfo(Zip64ExtendedInfo zip64ExtendedInfo)

getAesExtraDataRecord

public AESExtraDataRecord getAesExtraDataRecord()

setAesExtraDataRecord

public void setAesExtraDataRecord(AESExtraDataRecord aesExtraDataRecord)

isWriteComprSizeInZip64ExtraRecord

public boolean isWriteComprSizeInZip64ExtraRecord()

setWriteComprSizeInZip64ExtraRecord

public void setWriteComprSizeInZip64ExtraRecord(boolean writeComprSizeInZip64ExtraRecord)

isFileNameUTF8Encoded

public boolean isFileNameUTF8Encoded()

setFileNameUTF8Encoded

public void setFileNameUTF8Encoded(boolean fileNameUTF8Encoded)


Copyright © 2012. All Rights Reserved.