binary file search fixed

This commit is contained in:
Honfika
2014-01-21 23:33:06 +01:00
parent 7b518a6e0d
commit 043b4c12da
5 changed files with 49 additions and 81 deletions

View File

@@ -53,7 +53,7 @@ public class BinarySWFBundle implements SWFBundle {
}
@Override
public ReReadableInputStream getSWF(String key) {
public SeekableInputStream getSWF(String key) {
if(!key.startsWith("[")){
return null;
}
@@ -77,7 +77,7 @@ public class BinarySWFBundle implements SWFBundle {
@Override
public Map<String, SeekableInputStream> getAll() {
Map<String, SeekableInputStream> ret = new HashMap<>();
for(String key:getKeys()){
for(String key : getKeys()){
ret.put(key, getSWF(key));
}
return ret;