equal
deleted
inserted
replaced
72 * The same resource can even be compressed multiple time by a stack of compressors. |
72 * The same resource can even be compressed multiple time by a stack of compressors. |
73 * At runtime, a resource is decompressed in a loop until there is no more header |
73 * At runtime, a resource is decompressed in a loop until there is no more header |
74 * meaning that the resource is equivalent to the not compressed resource. |
74 * meaning that the resource is equivalent to the not compressed resource. |
75 * In each iteration, the name of the compressor located in the current header |
75 * In each iteration, the name of the compressor located in the current header |
76 * is used to retrieve the associated instance of ImageDecompressor. |
76 * is used to retrieve the associated instance of ImageDecompressor. |
77 * For example “zip” is the name of the compressor that compresses resources |
77 * For example "zip" is the name of the compressor that compresses resources |
78 * using the zip algorithm. The ZipDecompressor class name is also “zip”. |
78 * using the zip algorithm. The ZipDecompressor class name is also "zip". |
79 * ImageDecompressor instances are retrieved from a static array in which |
79 * ImageDecompressor instances are retrieved from a static array in which |
80 * they are registered. |
80 * they are registered. |
81 */ |
81 */ |
82 class ImageDecompressor { |
82 class ImageDecompressor { |
83 |
83 |