ZipFile Suggestion

Could you add a method such as this so that we can get a stream for a file of a certain name? Currently the createStreamForEntry only accepts an index and there is no way to get the index for a file of a specific name besides manually iterating through the entries.

[code]int ZipFile::getEntryIndex (const String& fileName) const throw()
for (int i = 0; i < entries.size(); ++i)
ZipEntryInfo* const zei = (ZipEntryInfo*)(entries.getUnchecked (i));

    if (zei->entry.filename == fileName)
        return i;

return -1;



Sure, that’s easy enough to add.