|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.org.ogsadai.client.toolkit.activity.transform.ZIPChecksum
An enumerated type representing a ZIP checksum type - Adler or CRC.
Field Summary | |
static ZIPChecksum |
ADLER
Adler checksum. |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright statement |
static ZIPChecksum |
CRC
CRC checksum. |
private java.lang.String |
mType
The current checksum type. |
Constructor Summary | |
private |
ZIPChecksum(java.lang.String type)
Create a ZIPChecksum of the specified type. |
Method Summary | |
java.lang.String |
getAsString()
Return the checksum type as a string - either adler32 or crc32 . |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final java.lang.String COPYRIGHT_NOTICE
public static final ZIPChecksum ADLER
public static final ZIPChecksum CRC
private final java.lang.String mType
Constructor Detail |
private ZIPChecksum(java.lang.String type)
ZIPChecksum
of the specified type.
type
- Either ZIPChecksum.ADLER
for
Adler or ZIPChecksum.CRC
for CRC.
java.lang.IllegalArgumentException
- If type
is neither of the two alternatives above.Method Detail |
public java.lang.String getAsString()
adler32
or crc32
.
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |