Class ZtxtChunk


  • public class ZtxtChunk
    extends GeneralTextChunk
    Representation of the zTXt (compressed text) chunk
    • Constructor Detail

      • ZtxtChunk

        public ZtxtChunk​(int sig,
                         long leng)
        Constructor
        Parameters:
        sig - : int representing chunktype
        leng - : long representing length
    • Method Detail

      • processChunk

        public void processChunk​(RepInfo info)
                          throws Exception
        Description copied from class: PNGChunk
        Process a chunk. When this is called, the input stream needs to have read the type and length and be positioned at the start of the data. The default behavior is to eat the chunk. This should be the behavior only for UnknownChunk when we're done.
        Overrides:
        processChunk in class PNGChunk
        Throws:
        Exception