public class PngChunkITXT extends PngChunkTextVar
see http://www.w3.org/TR/PNG/#11iTXt
PngChunkTextVar.PngTxtInfoPngChunk.ChunkOrderingConstraint| Modifier and Type | Field and Description |
|---|---|
static String |
ID |
key, KEY_Author, KEY_Comment, KEY_Copyright, KEY_Creation_Time, KEY_Description, KEY_Disclaimer, KEY_Software, KEY_Source, KEY_Title, KEY_Warning, val| Constructor and Description |
|---|
PngChunkITXT(ImageInfo info) |
| Modifier and Type | Method and Description |
|---|---|
PngChunk |
cloneForWrite(ImageInfo imgInfo)
Makes a copy of the chunk.
|
ChunkRaw |
createRawChunk()
Creates the physical chunk.
|
String |
getLangtag() |
String |
getTranslatedTag() |
boolean |
isCompressed() |
void |
parseFromRaw(ChunkRaw c)
Parses raw chunk and fill inside data.
|
void |
setCompressed(boolean compressed) |
void |
setLangtag(String langtag) |
void |
setTranslatedTag(String translatedTag) |
getKey, getOrderingConstraint, getVal, setKeyValallowsMultiplecreateEmptyChunk, getChunkGroup, getLen, getOffset, getRaw, hasPriority, setPriority, toStringpublic static final String ID
public PngChunkITXT(ImageInfo info)
public ChunkRaw createRawChunk()
PngChunkcreateRawChunk in class PngChunkpublic void parseFromRaw(ChunkRaw c)
PngChunkparseFromRaw in class PngChunkpublic PngChunk cloneForWrite(ImageInfo imgInfo)
PngChunkThis is used when copying chunks from a reader to a writer
This is usually a (shallow) copy, and after the cloning this.equals(other) should return true
cloneForWrite in class PngChunkpublic boolean isCompressed()
public void setCompressed(boolean compressed)
public String getLangtag()
public void setLangtag(String langtag)
public String getTranslatedTag()
public void setTranslatedTag(String translatedTag)
Copyright © 2013. All rights reserved.