com.github.junrar.rarfile
Class UnixOwnersHeader

java.lang.Object
  extended by com.github.junrar.rarfile.BaseBlock
      extended by com.github.junrar.rarfile.BlockHeader
          extended by com.github.junrar.rarfile.SubBlockHeader
              extended by com.github.junrar.rarfile.UnixOwnersHeader

public class UnixOwnersHeader
extends SubBlockHeader


Field Summary
 
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
UnixOwnersHeader(SubBlockHeader sb, byte[] uoHeader)
           
 
Method Summary
 String getGroup()
           
 int getGroupNameSize()
           
 String getOwner()
           
 int getOwnerNameSize()
           
 void print()
           
 void setGroup(String group)
           
 void setGroupNameSize(int groupNameSize)
           
 void setOwner(String owner)
           
 void setOwnerNameSize(int ownerNameSize)
           
 
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, getHeaderType, getPositionInFile, hasArchiveDataCRC, hasEncryptVersion, hasVolumeNumber, isSubBlock, setPositionInFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnixOwnersHeader

public UnixOwnersHeader(SubBlockHeader sb,
                        byte[] uoHeader)
Method Detail

getGroup

public String getGroup()
Returns:
the group

setGroup

public void setGroup(String group)
Parameters:
group - the group to set

getGroupNameSize

public int getGroupNameSize()
Returns:
the groupNameSize

setGroupNameSize

public void setGroupNameSize(int groupNameSize)
Parameters:
groupNameSize - the groupNameSize to set

getOwner

public String getOwner()
Returns:
the owner

setOwner

public void setOwner(String owner)
Parameters:
owner - the owner to set

getOwnerNameSize

public int getOwnerNameSize()
Returns:
the ownerNameSize

setOwnerNameSize

public void setOwnerNameSize(int ownerNameSize)
Parameters:
ownerNameSize - the ownerNameSize to set

print

public void print()
Overrides:
print in class SubBlockHeader


Copyright © 2012. All Rights Reserved.