| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectplugins.wcx.HeaderDataEx
public class HeaderDataEx
HeaderData is a structure used in readerHeader.
| Field Summary | |
|---|---|
static int | 
FILE_ATTRIBUTE_ANY_FILE
file attribute of fileAttr.  | 
static int | 
FILE_ATTRIBUTE_ARCHIVE
file attribute of fileAttr.  | 
static int | 
FILE_ATTRIBUTE_DIRECTORY
file attribute of fileAttr.  | 
static int | 
FILE_ATTRIBUTE_HIDDEN
file attribute of fileAttr.  | 
static int | 
FILE_ATTRIBUTE_READONLY
file attribute of fileAttr.  | 
static int | 
FILE_ATTRIBUTE_SYSTEM
file attribute of fileAttr.  | 
static int | 
FILE_ATTRIBUTE_VOLUME_ID_FILE
file attribute of fileAttr.  | 
| Constructor Summary | |
|---|---|
HeaderDataEx()
HeaderData is a structure used in ReaderHeader.  | 
|
| Method Summary | |
|---|---|
 java.lang.String | 
getArcName()
ArcName contain the name of the archive.  | 
 java.lang.String | 
getCmtBuf()
The cmtBuf variable is for the file comment.  | 
 int | 
getCmtBufSize()
The cmtBufSize variable is for the file comment.  | 
 int | 
getCmtSize()
The cmtSize variable is for the file comment.  | 
 int | 
getCmtState()
The cmtState variable is for the file comment.  | 
 int | 
getFileAttr()
This is the file attribute.  | 
 long | 
getFileCRC()
FileCRC is the 32-bit CRC (cyclic redundancy check) checksum of the file.  | 
 java.lang.String | 
getFileName()
ArcName contain the name of the file within the archive.  | 
 long | 
getFileTime()
FileTime contains the date and the time of the file’s last update.  | 
 int | 
getFlags()
 | 
 int | 
getHostOs()
HostOS is there for compatibility with unrar.dll only, and should be set to zero.  | 
 int | 
getMethod()
 | 
 long | 
getPackSize()
PackSize contain size of the file when packed.  | 
 long | 
getUnpSize()
UnpSize contain the size of the file when extracted.  | 
 int | 
getUnpVer()
 | 
 void | 
setArcName(java.lang.String arcName)
ArcName contain the name of the archive.  | 
 void | 
setCmtBuf(java.lang.String cmtBuf)
The cmtBuf variable is for the file comment.  | 
 void | 
setCmtBufSize(int cmtBufSize)
The cmtBufSize variable is for the file comment.  | 
 void | 
setCmtSize(int cmtSize)
The cmtSize variable is for the file comment.  | 
 void | 
setCmtState(int cmtState)
The cmtState variable is for the file comment.  | 
 void | 
setFileAttr(int fileAttr)
This is the file attribute.  | 
 void | 
setFileCRC(long fileCRC)
FileCRC is the 32-bit CRC (cyclic redundancy check) checksum of the file.  | 
 void | 
setFileName(java.lang.String fileName)
ArcName contain the name of the file within the archive.  | 
 void | 
setFileTime(java.util.Calendar cal)
FileTime contains the date and the time of the file’s last update.  | 
 void | 
setFlags(int flags)
 | 
 void | 
setHostOs(int hostOs)
HostOS is there for compatibility with unrar.dll only, and should be set to zero.  | 
 void | 
setMethod(int method)
 | 
 void | 
setPackSize(long packSize)
PackSize contain size of the file when packed.  | 
 void | 
setUnpSize(long unpSize)
UnpSize contain the size of the file when extracted.  | 
 void | 
setUnpVer(int unpVer)
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final int FILE_ATTRIBUTE_READONLY
public static final int FILE_ATTRIBUTE_HIDDEN
public static final int FILE_ATTRIBUTE_SYSTEM
public static final int FILE_ATTRIBUTE_VOLUME_ID_FILE
public static final int FILE_ATTRIBUTE_DIRECTORY
public static final int FILE_ATTRIBUTE_ARCHIVE
public static final int FILE_ATTRIBUTE_ANY_FILE
| Constructor Detail | 
|---|
public HeaderDataEx()
| Method Detail | 
|---|
public final java.lang.String getArcName()
public final void setArcName(java.lang.String arcName)
arcName - The arcName to set.public final java.lang.String getFileName()
public final void setFileName(java.lang.String fileName)
fileName - The fileName to set.public final int getFlags()
public final void setFlags(int flags)
flags - The flags to set.public final long getPackSize()
public final void setPackSize(long packSize)
packSize - The packSize to set.public final long getUnpSize()
public final void setUnpSize(long unpSize)
unpSize - The unpSize to set.public final int getHostOs()
public final void setHostOs(int hostOs)
hostOs - The hostOs to set.public final long getFileCRC()
public final void setFileCRC(long fileCRC)
fileCRC - The fileCRC to set.public final long getFileTime()
| FileTime = (year - 1980) << 25 | | | 
| month << 21 | | | 
| day << 16 | | | 
| hour << 11 | | | 
| minute << 5 | | | 
| second/2 | 
public final void setFileTime(java.util.Calendar cal)
cal - The fileTime to set.public final int getUnpVer()
public final void setUnpVer(int unpVer)
unpVer - The unpVer to set.public final int getMethod()
public final void setMethod(int method)
method - The method to set.public final int getFileAttr()
public final void setFileAttr(int fileAttr)
fileAttr - The fileAttr to set.public final java.lang.String getCmtBuf()
public final void setCmtBuf(java.lang.String cmtBuf)
cmtBuf - the fCmtBuf to setpublic final int getCmtBufSize()
public final void setCmtBufSize(int cmtBufSize)
cmtBufSize - the fCmtBufSize to setpublic final int getCmtSize()
public final void setCmtSize(int cmtSize)
cmtSize - the fCmtSize to setpublic final int getCmtState()
public final void setCmtState(int cmtState)
cmtState - the fCmtState to set
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||