| Modifier and Type | Field and Description |
|---|---|
| private final HashMap | |
| private final List | queuedChunks
chunks not yet writen - does not include IHDR, IDAT, END, perhaps yes PLTE |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public List | |
| public List | getQueuedById(final String id, final String innerid)
Same as getById(), but looking in the queued chunks |
| public PngChunk | getQueuedById1(final String id, final String innerid, final boolean failIfMultiple)
Same as getById1(), but looking in the queued chunks |
| public PngChunk | getQueuedById1(final String id, final boolean failIfMultiple)
Same as getById1(), but looking in the queued chunks |
| public PngChunk | |
| public List | |
| public boolean | |
| public boolean | removeChunk(final PngChunk c)
Remove Chunk: only from queued Warning this depends on c.equals() implementation, which is straightforward for SingleChunks. |
| private static boolean | shouldWrite(final PngChunk c, final int currentGroup)
this should be called only for ancillary chunks and PLTE (groups 1 - 3 - 5) |
| public String | toString()
Overrides jogamp. |
| public String | |
| public int |
| alreadyWrittenKeys | back to summary |
|---|---|
| private final HashMap<String, Integer> alreadyWrittenKeys | |
| queuedChunks | back to summary |
|---|---|
| private final List<PngChunk> queuedChunks chunks not yet writen - does not include IHDR, IDAT, END, perhaps yes PLTE | |
| ChunksListForWrite | back to summary |
|---|---|
| public ChunksListForWrite(final ImageInfo imfinfo) | |
| getQueuedById | back to summary |
|---|---|
| public List Same as getById(), but looking in the queued chunks | |
| getQueuedById | back to summary |
|---|---|
| public List Same as getById(), but looking in the queued chunks | |
| getQueuedById1 | back to summary |
|---|---|
| public PngChunk getQueuedById1(final String id, final String innerid, final boolean failIfMultiple) Same as getById1(), but looking in the queued chunks | |
| getQueuedById1 | back to summary |
|---|---|
| public PngChunk getQueuedById1(final String id, final boolean failIfMultiple) Same as getById1(), but looking in the queued chunks | |
| getQueuedById1 | back to summary |
|---|---|
| public PngChunk getQueuedById1(final String id) Same as getById1(), but looking in the queued chunks | |
| getQueuedChunks | back to summary |
|---|---|
| public List Warning this is NOT a copy, do not modify | |
| queue | back to summary |
|---|---|
| public boolean queue(final PngChunk c) Adds chunk to queue Does not check for duplicated or anything | |
| removeChunk | back to summary |
|---|---|
| public boolean removeChunk(final PngChunk c) Remove Chunk: only from queued Warning this depends on c.equals() implementation, which is straightforward for SingleChunks. For MultipleChunks, it will normally check for reference equality! | |
| shouldWrite | back to summary |
|---|---|
| private static boolean shouldWrite(final PngChunk c, final int currentGroup) this should be called only for ancillary chunks and PLTE (groups 1 - 3 - 5) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides jogamp. Doc from java. Returns a string representation of the object. | |
| toStringFull | back to summary |
|---|---|
| public String toStringFull() Overrides jogamp. for debugging
| |
| writeChunks | back to summary |
|---|---|
| public int writeChunks(final OutputStream os, final int currentGroup) | |