Package com.github.junrar.rarfile
Class EAHeader
- java.lang.Object
-
- com.github.junrar.rarfile.BaseBlock
-
- com.github.junrar.rarfile.BlockHeader
-
- com.github.junrar.rarfile.SubBlockHeader
-
- com.github.junrar.rarfile.EAHeader
-
public class EAHeader extends SubBlockHeader
extended archive CRC header
-
-
Field Summary
Fields Modifier and Type Field Description private intEACRCstatic shortEAHeaderSizeprivate static org.slf4j.Loggerloggerprivate bytemethodprivate intunpSizeprivate byteunpVer-
Fields inherited from class com.github.junrar.rarfile.SubBlockHeader
SubBlockHeaderSize
-
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
Constructors Constructor Description EAHeader(SubBlockHeader sb, byte[] eahead)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetEACRC()bytegetMethod()intgetUnpSize()bytegetUnpVer()voidprint()-
Methods inherited from class com.github.junrar.rarfile.SubBlockHeader
getLevel, getSubType
-
Methods inherited from class com.github.junrar.rarfile.BlockHeader
getDataSize, getPackSize
-
Methods inherited from class com.github.junrar.rarfile.BaseBlock
getFlags, getHeadCRC, getHeaderSize, getHeaderSize, getHeaderType, getPositionInFile, hasArchiveDataCRC, hasEncryptVersion, hasVolumeNumber, isSubBlock, setPositionInFile
-
-
-
-
Field Detail
-
logger
private static final org.slf4j.Logger logger
-
EAHeaderSize
public static final short EAHeaderSize
- See Also:
- Constant Field Values
-
unpSize
private final int unpSize
-
unpVer
private byte unpVer
-
method
private byte method
-
EACRC
private final int EACRC
-
-
Constructor Detail
-
EAHeader
public EAHeader(SubBlockHeader sb, byte[] eahead)
-
-
Method Detail
-
getEACRC
public int getEACRC()
- Returns:
- the eACRC
-
getMethod
public byte getMethod()
- Returns:
- the method
-
getUnpSize
public int getUnpSize()
- Returns:
- the unpSize
-
getUnpVer
public byte getUnpVer()
- Returns:
- the unpVer
-
print
public void print()
- Overrides:
printin classSubBlockHeader
-
-