Class TextChunk


  • public class TextChunk
    extends GeneralTextChunk
    Representation of the tEXt (plain text) chunk
    • Constructor Detail

      • TextChunk

        public TextChunk​(int sig,
                         long leng)
        Constructor
    • 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