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
-
public final class PngChunkZtxt extends AbstractPngTextChunk
-
-
Constructor Summary
Constructors Constructor Description PngChunkZtxt(int length, int chunkType, int crc, byte[] bytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractPngTextgetContents()java.lang.StringgetKeyword()Gets the keyword.java.lang.StringgetText()Gets the text.-
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 Detail
-
PngChunkZtxt
public PngChunkZtxt(int length, int chunkType, int crc, byte[] bytes) throws ImagingException, java.io.IOException- Throws:
ImagingExceptionjava.io.IOException
-
-
Method Detail
-
getContents
public AbstractPngText getContents()
- Specified by:
getContentsin classAbstractPngTextChunk
-
getKeyword
public java.lang.String getKeyword()
Gets the keyword.- Specified by:
getKeywordin classAbstractPngTextChunk- Returns:
- the keyword.
-
getText
public java.lang.String getText()
Gets the text.- Specified by:
getTextin classAbstractPngTextChunk- Returns:
- the text.
-
-