ChunkHandler
Keywords: com.sixlegs.image.png.ChunkHandler interface

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sixlegs.image.png
Interface ChunkHandler

public interface ChunkHandler

A class implementing the `ChunkHandler` interface can be registered using the `PngImage.registerChunk` method.

See Also:
  `PngImage.registerChunk(com.sixlegs.image.png.ChunkHandler, java.lang.String)`

Method Summary
`void` | `handleChunk(java.lang.String type, byte[] data)` Process chunk data.

Method Detail

### handleChunk

    public void handleChunk(java.lang.String type,
                            byte[] data)

  Process chunk data. This method is called upon encountering a chunk registered as being handled by the implementing class.

  Parameters:
    `type` - chunk type
    `data` - raw chunk data
  See Also:
    `PngImage.registerChunk(com.sixlegs.image.png.ChunkHandler, java.lang.String)`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD