zip bundle fixed

This commit is contained in:
Honfika
2014-01-21 22:20:01 +01:00
parent e1f37eb0b6
commit fc92a2e5b5
10 changed files with 33 additions and 20 deletions

View File

@@ -19,6 +19,7 @@ package com.jpexs.decompiler.flash;
import com.jpexs.helpers.ReReadableInputStream;
import com.jpexs.helpers.StreamSearch;
import com.jpexs.helpers.streams.SeekableInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.HashMap;
@@ -73,8 +74,8 @@ public class BinarySWFBundle implements SWFBundle {
}
@Override
public Map<String, ReReadableInputStream> getAll() {
Map<String, ReReadableInputStream> ret = new HashMap<>();
public Map<String, SeekableInputStream> getAll() {
Map<String, SeekableInputStream> ret = new HashMap<>();
for(String key:getKeys()){
ret.put(key, getSWF(key));
}