|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.plexus.archiver.bzip2.CRC
class CRC
A simple class the hold and calculate the CRC for sanity checking of the data.
Field Summary | |
---|---|
static int[] |
crc32Table
|
(package private) int |
globalCrc
|
Constructor Summary | |
---|---|
CRC()
|
Method Summary | |
---|---|
(package private) int |
getFinalCRC()
|
(package private) int |
getGlobalCRC()
|
(package private) void |
initialiseCRC()
|
(package private) void |
setGlobalCRC(int newCrc)
|
(package private) void |
updateCRC(int inCh)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int[] crc32Table
int globalCrc
Constructor Detail |
---|
public CRC()
Method Detail |
---|
void initialiseCRC()
int getFinalCRC()
int getGlobalCRC()
void setGlobalCRC(int newCrc)
void updateCRC(int inCh)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |