|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectar.com.hjg.pngj.chunks.ChunksList
ar.com.hjg.pngj.chunks.ChunksListForWrite
public class ChunksListForWrite
Field Summary |
---|
Fields inherited from class ar.com.hjg.pngj.chunks.ChunksList |
---|
CHUNK_GROUP_0_IDHR, CHUNK_GROUP_1_AFTERIDHR, CHUNK_GROUP_2_PLTE, CHUNK_GROUP_3_AFTERPLTE, CHUNK_GROUP_4_IDAT, CHUNK_GROUP_5_AFTERIDAT, CHUNK_GROUP_6_END |
Constructor Summary | |
---|---|
ChunksListForWrite(ImageInfo imfinfo)
|
Method Summary | |
---|---|
List<? extends PngChunk> |
getQueuedById(String id)
Same as getById(), but looking in the queued chunks |
List<? extends PngChunk> |
getQueuedById(String id,
String innerid)
Same as getById(), but looking in the queued chunks |
PngChunk |
getQueuedById1(String id)
Same as getById1(), but looking in the queued chunks |
PngChunk |
getQueuedById1(String id,
boolean failIfMultiple)
Same as getById1(), but looking in the queued chunks |
PngChunk |
getQueuedById1(String id,
String innerid,
boolean failIfMultiple)
Same as getById1(), but looking in the queued chunks |
List<PngChunk> |
getQueuedChunks()
warning: this is NOT a copy, do not modify |
boolean |
queue(PngChunk c)
Adds chunk to queue Does not check for duplicated or anything |
boolean |
removeChunk(PngChunk c)
Remove Chunk: only from queued WARNING: this depends on c.equals() implementation, which is straightforward for SingleChunks. |
String |
toString()
|
String |
toStringFull()
for debugging |
int |
writeChunks(OutputStream os,
int currentGroup)
|
Methods inherited from class ar.com.hjg.pngj.chunks.ChunksList |
---|
appendReadChunk, getById, getById, getById1, getById1, getById1, getChunks, getChunksKeys, getEquivalent |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ChunksListForWrite(ImageInfo imfinfo)
Method Detail |
---|
public List<? extends PngChunk> getQueuedById(String id)
public List<? extends PngChunk> getQueuedById(String id, String innerid)
public PngChunk getQueuedById1(String id)
public PngChunk getQueuedById1(String id, boolean failIfMultiple)
public PngChunk getQueuedById1(String id, String innerid, boolean failIfMultiple)
public List<PngChunk> getQueuedChunks()
public boolean queue(PngChunk c)
c
- public boolean removeChunk(PngChunk c)
public String toString()
toString
in class ChunksList
public String toStringFull()
toStringFull
in class ChunksList
public int writeChunks(OutputStream os, int currentGroup)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |