Package javajs.api
Interface GenericZipTools
- All Known Implementing Classes:
ZipTools
public interface GenericZipTools
Class abandoned as unnecessary in SwingJS
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addZipEntry
(Object zos, String fileName) cacheZipContents
(BufferedInputStream bis, String shortName, Map<String, Object> cache, boolean asByteArray) void
closeZipEntry
(Object zos) void
getAllZipData
(InputStream bis, String[] subFileList, String replace, String binaryFileList, String exclude, Map<String, String> fileData) int
getCrcValue
(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) boolean
isZipStream
(Object br) void
readFileAsMap
(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
-