Top Description Fields Constructors Methods
jogamp.opengl.util.pngj.chunks

public Class PngChunkZTXT

extends PngChunkTextVar
Class Inheritance
Imports
java.io.ByteArrayOutputStream, .IOException, jogamp.opengl.util.pngj.ImageInfo, .PngHelperInternal, .PngjException

zTXt chunk.

see http://www.w3.org/TR/PNG/#11zTXt

Field Summary

Modifier and TypeField and Description
public static final String
Inherited from jogamp.opengl.util.pngj.chunks.PngChunkTextVar:
keyKEY_AuthorKEY_CommentKEY_CopyrightKEY_Creation_TimeKEY_DescriptionKEY_DisclaimerKEY_SoftwareKEY_SourceKEY_TitleKEY_Warningval

Constructor Summary

AccessConstructor and Description
public
PngChunkZTXT(final ImageInfo info)

Method Summary

Modifier and TypeMethod and Description
public void
cloneDataFromRead(final PngChunk other)

Implements abstract jogamp.opengl.util.pngj.chunks.PngChunk.cloneDataFromRead.

Makes a copy of the chunk.
public ChunkRaw
createRawChunk()

Implements abstract jogamp.opengl.util.pngj.chunks.PngChunk.createRawChunk.

Creates the physical chunk.
public void
parseFromRaw(final ChunkRaw c)

Implements abstract jogamp.opengl.util.pngj.chunks.PngChunk.parseFromRaw.

Parses raw chunk and fill inside data.
Inherited from jogamp.opengl.util.pngj.chunks.PngChunkTextVar:
getKeygetOrderingConstraintgetValsetKeyVal

Field Detail

IDback to summary
public static final String ID

Constructor Detail

PngChunkZTXTback to summary
public PngChunkZTXT(final ImageInfo info)

Method Detail

cloneDataFromReadback to summary
public void cloneDataFromRead(final PngChunk other)

Implements abstract jogamp.opengl.util.pngj.chunks.PngChunk.cloneDataFromRead.

Doc from jogamp.opengl.util.pngj.chunks.PngChunk.cloneDataFromRead.

Makes a copy of the chunk.

This is used when copying chunks from a reader to a writer

It should normally be a deep copy, and after the cloning this.equals(other) should return true

Annotations
@Override
createRawChunkback to summary
public ChunkRaw createRawChunk()

Implements abstract jogamp.opengl.util.pngj.chunks.PngChunk.createRawChunk.

Doc from jogamp.opengl.util.pngj.chunks.PngChunk.createRawChunk.

Creates the physical chunk. This is used when writing (serialization). Each particular chunk class implements its own logic.

Returns:ChunkRaw

A newly allocated and filled raw chunk

Annotations
@Override
parseFromRawback to summary
public void parseFromRaw(final ChunkRaw c)

Implements abstract jogamp.opengl.util.pngj.chunks.PngChunk.parseFromRaw.

Doc from jogamp.opengl.util.pngj.chunks.PngChunk.parseFromRaw.

Parses raw chunk and fill inside data. This is used when reading (deserialization). Each particular chunk class implements its own logic.

Annotations
@Override