Class PngChunkZtxt
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
org.apache.commons.imaging.formats.png.chunks.PngChunkZtxt
-
Constructor Summary
Constructors -
Method Summary
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
-
Constructor Details
-
PngChunkZtxt
public PngChunkZtxt(int length, int chunkType, int crc, byte[] bytes) throws ImagingException, IOException - Throws:
ImagingException
IOException
-
-
Method Details
-
getContents
- Specified by:
getContents
in classAbstractPngTextChunk
-
getKeyword
Gets the keyword.- Specified by:
getKeyword
in classAbstractPngTextChunk
- Returns:
- the keyword.
-
getText
Gets the text.- Specified by:
getText
in classAbstractPngTextChunk
- Returns:
- the text.
-