Class TimeChunk

java.lang.Object
com.mcgath.jhove.module.png.PNGChunk
com.mcgath.jhove.module.png.TimeChunk

public class TimeChunk extends PNGChunk
The tIME chunk, which gives the latest modified time.
  • Constructor Details

    • TimeChunk

      public TimeChunk(int sig, long leng)
      Constructor
  • Method Details

    • processChunk

      public void processChunk(RepInfo info) throws Exception
      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:
      processChunk in class PNGChunk
      Throws:
      Exception