X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=srcjar%2Fjavajs%2Fapi%2FGenericZipTools.java;fp=srcjar%2Fjavajs%2Fapi%2FGenericZipTools.java;h=0000000000000000000000000000000000000000;hb=5152dafd5d71c877156621def8463d437c9c5453;hp=47a2da2eee37fdf718885d30bf8d7a1a50a7ac83;hpb=c4cf7aa546ede43930f9a17fec5060119984da41;p=jalview.git diff --git a/srcjar/javajs/api/GenericZipTools.java b/srcjar/javajs/api/GenericZipTools.java deleted file mode 100644 index 47a2da2..0000000 --- a/srcjar/javajs/api/GenericZipTools.java +++ /dev/null @@ -1,47 +0,0 @@ -package javajs.api; - -import java.io.BufferedInputStream; -import java.io.IOException; -import java.io.InputStream; - -import java.util.Map; - - -public interface GenericZipTools { - - public ZInputStream newZipInputStream(InputStream is); - - public String getZipDirectoryAsStringAndClose(BufferedInputStream t); - - public InputStream newGZIPInputStream(InputStream bis) throws IOException; - - public InputStream newBZip2InputStream(InputStream bis) throws IOException; - - public Object getZipFileDirectory(BufferedInputStream bis, - String[] subFileList, int listPtr, boolean asBufferedInputStream); - - public String[] getZipDirectoryAndClose(BufferedInputStream t, - String manifestID); - - public void getAllZipData(InputStream bis, String[] subFileList, - String replace, String binaryFileList, String exclude, - Map fileData); - - public Object getZipFileContentsAsBytes(BufferedInputStream bis, - String[] subFileList, int i); - - public void addZipEntry(Object zos, String fileName) throws IOException; - - public void closeZipEntry(Object zos) throws IOException; - - public Object getZipOutputStream(Object bos); - - public int getCrcValue(byte[] bytes); - - public void readFileAsMap(BufferedInputStream is, Map bdata, String name); - - public String cacheZipContents(BufferedInputStream bis, String shortName, - Map cache, boolean asByteArray); - - BufferedInputStream getUnGzippedInputStream(byte[] bytes); -}