|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.junrar.rarfile.BaseBlock
com.github.junrar.rarfile.BlockHeader
com.github.junrar.rarfile.FileHeader
public class FileHeader
DOCUMENT ME
| Field Summary |
|---|
| Fields inherited from class com.github.junrar.rarfile.BlockHeader |
|---|
blockHeaderSize |
| Fields inherited from class com.github.junrar.rarfile.BaseBlock |
|---|
BaseBlockSize, EARC_DATACRC, EARC_NEXT_VOLUME, EARC_REVSPACE, EARC_VOLNUMBER, flags, headCRC, headerSize, headerType, LHD_COMMENT, LHD_DIRECTORY, LHD_EXTFLAGS, LHD_EXTTIME, LHD_LARGE, LHD_PASSWORD, LHD_SALT, LHD_SOLID, LHD_SPLIT_AFTER, LHD_SPLIT_BEFORE, LHD_UNICODE, LHD_VERSION, LHD_WINDOW1024, LHD_WINDOW128, LHD_WINDOW2048, LHD_WINDOW256, LHD_WINDOW4096, LHD_WINDOW512, LHD_WINDOW64, LHD_WINDOWMASK, LONG_BLOCK, MHD_AV, MHD_COMMENT, MHD_ENCRYPTVER, MHD_FIRSTVOLUME, MHD_LOCK, MHD_NEWNUMBERING, MHD_PACK_COMMENT, MHD_PASSWORD, MHD_PROTECT, MHD_SOLID, MHD_VOLUME, positionInFile, SKIP_IF_UNKNOWN |
| Constructor Summary | |
|---|---|
FileHeader(BlockHeader bh,
byte[] fileHeader)
|
|
| Method Summary | |
|---|---|
Date |
getArcTime()
|
Date |
getATime()
|
Date |
getCTime()
|
int |
getFileAttr()
|
int |
getFileCRC()
|
byte[] |
getFileNameByteArray()
|
String |
getFileNameString()
|
String |
getFileNameW()
|
long |
getFullPackSize()
|
long |
getFullUnpackSize()
|
int |
getHighPackSize()
|
int |
getHighUnpackSize()
|
HostSystem |
getHostOS()
|
Date |
getMTime()
|
short |
getNameSize()
|
int |
getRecoverySectors()
|
byte[] |
getSalt()
|
byte[] |
getSubData()
|
int |
getSubFlags()
|
byte |
getUnpMethod()
|
long |
getUnpSize()
|
byte |
getUnpVersion()
|
boolean |
hasSalt()
|
boolean |
isDirectory()
whether this fileheader represents a directory |
boolean |
isEncrypted()
the file is encrypted |
boolean |
isFileHeader()
|
boolean |
isLargeBlock()
|
boolean |
isSolid()
this file is compressed as solid (all files handeled as one) |
boolean |
isSplitAfter()
the file will be continued in the next archive part |
boolean |
isSplitBefore()
the file is continued in this archive |
boolean |
isUnicode()
the filename is also present in unicode |
void |
print()
|
void |
setArcTime(Date arcTime)
|
void |
setATime(Date time)
|
void |
setCTime(Date time)
|
void |
setFileAttr(int fileAttr)
|
void |
setFileName(String fileName)
|
void |
setFileNameW(String fileNameW)
|
void |
setMTime(Date time)
|
String |
toString()
|
| Methods inherited from class com.github.junrar.rarfile.BlockHeader |
|---|
getDataSize, getPackSize |
| Methods inherited from class com.github.junrar.rarfile.BaseBlock |
|---|
getFlags, getHeadCRC, getHeaderSize, getHeaderType, getPositionInFile, hasArchiveDataCRC, hasEncryptVersion, hasVolumeNumber, isSubBlock, setPositionInFile |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FileHeader(BlockHeader bh,
byte[] fileHeader)
| Method Detail |
|---|
public void print()
print in class BlockHeaderpublic Date getArcTime()
public void setArcTime(Date arcTime)
public Date getATime()
public void setATime(Date time)
public Date getCTime()
public void setCTime(Date time)
public int getFileAttr()
public void setFileAttr(int fileAttr)
public int getFileCRC()
public byte[] getFileNameByteArray()
public String getFileNameString()
public void setFileName(String fileName)
public String getFileNameW()
public void setFileNameW(String fileNameW)
public int getHighPackSize()
public int getHighUnpackSize()
public HostSystem getHostOS()
public Date getMTime()
public void setMTime(Date time)
public short getNameSize()
public int getRecoverySectors()
public byte[] getSalt()
public byte[] getSubData()
public int getSubFlags()
public byte getUnpMethod()
public long getUnpSize()
public byte getUnpVersion()
public long getFullPackSize()
public long getFullUnpackSize()
public String toString()
toString in class Objectpublic boolean isSplitAfter()
public boolean isSplitBefore()
public boolean isSolid()
public boolean isEncrypted()
public boolean isUnicode()
public boolean isFileHeader()
public boolean hasSalt()
public boolean isLargeBlock()
public boolean isDirectory()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||