Interface GenericZipTools
- All Known Implementing Classes:
ZipTools
public interface GenericZipTools
Class abandoned as unnecessary in SwingJS
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddZipEntry(Object zos, String fileName) cacheZipContents(BufferedInputStream bis, String shortName, Map<String, Object> cache, boolean asByteArray) voidcloseZipEntry(Object zos) voidgetAllZipData(InputStream bis, String[] subFileList, String replace, String binaryFileList, String exclude, Map<String, String> fileData) intgetCrcValue(byte[] bytes) getUnGzippedInputStream(byte[] bytes) String[]getZipDirectoryAndClose(BufferedInputStream t, String manifestID) getZipFileContentsAsBytes(BufferedInputStream bis, String[] subFileList, int i) getZipFileDirectory(BufferedInputStream bis, String[] subFileList, int listPtr, boolean asBufferedInputStream) getZipOutputStream(Object bos) booleanisZipStream(Object br) voidreadFileAsMap(BufferedInputStream is, Map<String, Object> bdata, String name)
-
Method Details
-
newZipInputStream
-
getZipDirectoryAsStringAndClose
-
newGZIPInputStream
- Throws:
IOException
-
newBZip2InputStream
- Throws:
IOException
-
getZipFileDirectory
Object getZipFileDirectory(BufferedInputStream bis, String[] subFileList, int listPtr, boolean asBufferedInputStream) -
getZipDirectoryAndClose
-
getAllZipData
-
getZipFileContentsAsBytes
-
addZipEntry
- Throws:
IOException
-
closeZipEntry
- Throws:
IOException
-
getZipOutputStream
-
getCrcValue
int getCrcValue(byte[] bytes) -
readFileAsMap
-
cacheZipContents
-
getUnGzippedInputStream
-
isZipStream
-