Package org.apache.commons.imaging.formats.png.chunks

# Class AbstractPngTextChunk

java.lang.Object
org.apache.commons.imaging.common.BinaryFileParser
org.apache.commons.imaging.formats.png.chunks.PngChunk
org.apache.commons.imaging.formats.png.chunks.AbstractPngTextChunk

Direct Known Subclasses:
  `PngChunkItxt`, `PngChunkText`, `PngChunkZtxt`

public abstract class AbstractPngTextChunk extends PngChunk

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AbstractPngTextChunk(int length, int chunkType, int crc, byte[] bytes)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract AbstractPngText`
  `getContents()`
  `abstract String`
  `getKeyword()`
  `abstract String`
  `getText()`

  ### Methods inherited from class org.apache.commons.imaging.formats.png.chunks.PngChunk

  `getBytes, getChunkType, getCrc, getDataStream, getLength, getPropertyBits, isAncillary, isPrivate, isReserved, isSafeToCopy`

  ### Methods inherited from class org.apache.commons.imaging.common.BinaryFileParser

  `debugNumber, debugNumber, getByteOrder, setByteOrder`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### AbstractPngTextChunk

    public AbstractPngTextChunk(int length, int chunkType, int crc, byte[] bytes)

- ## Method Details

  - ### getContents

    public abstract AbstractPngText getContents()

  - ### getKeyword

    public abstract String getKeyword()

  - ### getText

    public abstract String getText()