| Clazz.declarePackage ("JSV.common"); | |
| Clazz.load (["JSV.api.JSVZipInterface"], "JSV.common.JSVZipUtil", ["java.util.zip.GZIPInputStream", "JSV.common.JSVZipFileSequentialReader"], function () { | |
| c$ = Clazz.declareType (JSV.common, "JSVZipUtil", null, JSV.api.JSVZipInterface); | |
| Clazz.makeConstructor (c$, | |
| function () { | |
| }); | |
| Clazz.overrideMethod (c$, "newGZIPInputStream", | |
| function (bis) { | |
| return new java.util.zip.GZIPInputStream (bis, 512); | |
| }, "java.io.InputStream"); | |
| Clazz.overrideMethod (c$, "newJSVZipFileSequentialReader", | |
| function ($in, subFileList, startCode) { | |
| return new JSV.common.JSVZipFileSequentialReader ().set ($in, subFileList, startCode); | |
| }, "java.io.InputStream,~A,~S"); | |
| }); | |