Class MacInfoHeader
java.lang.Object
com.github.junrar.rarfile.BaseBlock
com.github.junrar.rarfile.BlockHeader
com.github.junrar.rarfile.SubBlockHeader
com.github.junrar.rarfile.MacInfoHeader
Mac File attribute header
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate static final org.slf4j.Loggerstatic final shortFields inherited from class SubBlockHeader
SubBlockHeaderSizeFields inherited from class BlockHeader
blockHeaderSizeFields inherited from class 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 -
Method Summary
Modifier and TypeMethodDescriptionintintvoidprint()voidsetFileCreator(int fileCreator) voidsetFileType(int fileType) Methods inherited from class SubBlockHeader
getLevel, getSubTypeMethods inherited from class BlockHeader
getDataSize, getPackSizeMethods inherited from class BaseBlock
getFlags, getHeadCRC, getHeaderSize, getHeaderSize, getHeaderType, getPositionInFile, hasArchiveDataCRC, hasEncryptVersion, hasVolumeNumber, isSubBlock, setPositionInFile
-
Field Details
-
logger
private static final org.slf4j.Logger logger -
MacInfoHeaderSize
public static final short MacInfoHeaderSize- See Also:
-
fileType
private int fileType -
fileCreator
private int fileCreator
-
-
Constructor Details
-
MacInfoHeader
-
-
Method Details
-
getFileCreator
public int getFileCreator()- Returns:
- the fileCreator
-
setFileCreator
public void setFileCreator(int fileCreator) - Parameters:
fileCreator- the fileCreator to set
-
getFileType
public int getFileType()- Returns:
- the fileType
-
setFileType
public void setFileType(int fileType) - Parameters:
fileType- the fileType to set
-
print
public void print()- Overrides:
printin classSubBlockHeader
-