Package com.mcgath.jhove.module.png
Class TimeChunk
java.lang.Object
com.mcgath.jhove.module.png.PNGChunk
com.mcgath.jhove.module.png.TimeChunk
The tIME chunk, which gives the latest modified time.
-
Field Summary
Fields inherited from class com.mcgath.jhove.module.png.PNGChunk
_dstream, _module, _nisoMetadata, _propList, ancillary, bKGD_HEAD_SIG, cHRM_HEAD_SIG, chunkData, chunkType, crc, duplicateAllowed, gAMA_HEAD_SIG, hIST_HEAD_SIG, iCCP_HEAD_SIG, IDAT_HEAD_SIG, IEND_HEAD_SIG, IHDR_HEAD_SIG, iTXt_HEAD_SIG, length, pHYs_HEAD_SIG, PLTE_HEAD_SIG, sBIT_HEAD_SIG, sPLT_HEAD_SIG, sRGB_HEAD_SIG, tEXt_HEAD_SIG, tIME_HEAD_SIG, tRNS_HEAD_SIG, zTXt_HEAD_SIG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprocessChunk(RepInfo info) The tIME chunk has the following: 2 bytes year (short), 1 byte month, 1 byte day, 1 byte hour, 1 byte minute, 1 byte second.Methods inherited from class com.mcgath.jhove.module.png.PNGChunk
chunkTypeString, getChunkData, getChunkType, getCRC, getLength, makePNGChunk, processChunkCommon, readCRC, readUnsignedByte, readUnsignedInt, readUnsignedShort, setInputStream, setModule, setNisoMetadata, setPropertyList, skipBytes
-
Constructor Details
-
TimeChunk
public TimeChunk(int sig, long leng) Constructor
-
-
Method Details
-
processChunk
The tIME chunk has the following: 2 bytes year (short), 1 byte month, 1 byte day, 1 byte hour, 1 byte minute, 1 byte second. It's supposed to be the UTC time.- Overrides:
processChunkin classPNGChunk- Throws:
Exception
-