ar.com.hjg.pngj.chunks
Class PngChunkTEXT
java.lang.Object
ar.com.hjg.pngj.chunks.PngChunk
ar.com.hjg.pngj.chunks.PngChunkMultiple
ar.com.hjg.pngj.chunks.PngChunkTextVar
ar.com.hjg.pngj.chunks.PngChunkTEXT
public class PngChunkTEXT
- extends PngChunkTextVar
ID
public static final String ID
- See Also:
- Constant Field Values
PngChunkTEXT
public PngChunkTEXT(ImageInfo info)
cloneDataFromRead
public void cloneDataFromRead(PngChunk other)
- Description copied from class:
PngChunk
- 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
- Specified by:
cloneDataFromRead
in class PngChunk
createRawChunk
public ChunkRaw createRawChunk()
- Description copied from class:
PngChunk
- Creates the physical chunk. This is used when writing (serialization). Each particular chunk class implements its
own logic.
- Specified by:
createRawChunk
in class PngChunk
- Returns:
- A newly allocated and filled raw chunk
parseFromRaw
public void parseFromRaw(ChunkRaw c)
- Description copied from class:
PngChunk
- Parses raw chunk and fill inside data. This is used when reading (deserialization). Each particular chunk class
implements its own logic.
- Specified by:
parseFromRaw
in class PngChunk