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.PngTextChunk
-
- org.apache.commons.imaging.formats.png.chunks.PngChunkZtxt
-
public class PngChunkZtxt extends PngTextChunk
-
-
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 PngTextgetContents()java.lang.StringgetKeyword()java.lang.StringgetText()-
Methods inherited from class org.apache.commons.imaging.formats.png.chunks.PngChunk
getBytes, getDataStream, getPropertyBits
-
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 ImageReadException, java.io.IOException- Throws:
ImageReadExceptionjava.io.IOException
-
-
Method Detail
-
getKeyword
public java.lang.String getKeyword()
- Specified by:
getKeywordin classPngTextChunk- Returns:
- Returns the keyword.
-
getText
public java.lang.String getText()
- Specified by:
getTextin classPngTextChunk- Returns:
- Returns the text.
-
getContents
public PngText getContents()
- Specified by:
getContentsin classPngTextChunk
-
-