docstring
stringlengths
3
2.38k
code
stringlengths
9
99.4k
unzip the zip file at the specified path to the specified directory optionally deletes the zip afterwards
ZipFile . <init> ZipFile . entries Enumeration . hasMoreElements ZipEntry . cast ZipEntry . isDirectory ZipEntry . getName File . <init> File . exists File . delete ZipFile . close
populate the lists of files and directories to be installed
ZipFile . <init> ZipFile . entries Enumeration . hasMoreElements ZipEntry . cast ZipEntry . isDirectory ZipEntry . getName List < String > . add ZipEntry . getName List < String > . add ZipFile . close
unzip zip file to folder path
ZipFile . <init> ZipFile . entries Enumeration . hasMoreElements ZipEntry . cast ZipEntry . isDirectory ZipEntry . getName String . getBytes String . <init> File . <init> File . mkdir ZipEntry . getName FileOutputStream . <init> BufferedOutputStream . <init> BufferedInputStream . <init> OutputStream . write InputStream . close OutputStream . close ZipFile . close
verify the integrity of a <unk>
ZipFile . <init> ZipFile . entries Enumeration . hasMoreElements ZipEntry . cast ZipEntry . isDirectory ZipEntry . getName ZipFile . getInputStream InputStream . read InputStream . close ZipFile . close
read application class in the ap ks manifest file
ZipFile . <init> ZipFile . entries Enumeration . hasMoreElements ZipEntry . cast ZipFile . close
unzip the file into the directory
ZipFile . <init> ZipFile . entries Enumeration . hasMoreElements ZipEntry . cast ZipFile . getInputStream File . getAbsolutePath File . <init> ZipEntry . isDirectory File . mkdirs File . getParentFile File . createNewFile FileOutputStream . <init> BufferedOutputStream . <init> BufferedOutputStream . write BufferedOutputStream . flush BufferedOutputStream . close ZipFile . close
return plugin information from the specified plugin file
ZipFile . <init> ZipFile . entries Enumeration . hasMoreElements ZipEntry . cast ZipFile . getInputStream InputStream . close ZipEntry . <init> ZipFile . getInputStream ImageIO . read ImageIcon . <init> InputStream . close File . getName File . getParent File . getName Map < String > . put ZipFile . close
read a file contained within a zip file and returns an input stream
ZipFile . <init> ZipFile . entries Enumeration . hasMoreElements ZipEntry . cast ZipFile . getInputStream
for a given zip file , process each entry
ZipFile . <init> ZipFile . entries Enumeration . hasMoreElements ZipEntry . cast
to unzip files
ZipFile . <init> ZipFile . entries Enumeration . hasMoreElements ZipEntry . cast
go through all the jar files and construct the index table
ZipFile . <init> ZipFile . entries Enumeration . hasMoreElements ZipEntry . getName Enumeration . nextElement String . startsWith String . equals ZipFile . close
read a zip file
ZipFile . <init> ZipFile . entries Enumeration . nextElement BufferedReader . <init> InputStreamReader . <init> BufferedReader . readLine BufferedReader . close ZipFile . close
read a zip file
ZipFile . <init> ZipFile . entries Enumeration . nextElement BufferedReader . <init> ZipFile . getInputStream BufferedReader . ready BufferedReader . readLine BufferedReader . close ZipFile . close
read a zip file
ZipFile . <init> ZipFile . entries Enumeration . nextElement BufferedReader . <init> ZipFile . getInputStream InputStreamReader . <init> BufferedReader . ready ArrayList . add BufferedReader . close ZipFile . close
unzip source into the destination folder
ZipFile . <init> ZipFile . entries Enumeration . nextElement File . <init> File . getParentFile ZipFile . getInputStream FileOutputStream . <init> ZipFile . close
unzip a file into a given directory
ZipFile . <init> ZipFile . entries Enumeration . nextElement File . <init> File . isAbsolute ZipEntry . getName File . <init> ZipEntry . getName File . <init> ZipFile . getInputStream BufferedInputStream . <init> ZipFile . getInputStream BufferedInputStream . <init> BufferedOutputStream . <init> InputStream . read OutputStream . write OutputStream . close InputStream . close ZipFile . close
unzip a zip file into the unzip directory
ZipFile . <init> ZipFile . entries Enumeration . nextElement File . <init> File . mkdir ZipFile . getInputStream FileOutputStream . <init>
extract a zip file in the provided directory
ZipFile . <init> ZipFile . entries Enumeration . nextElement File . <init> ZipEntry . getName File . mkdirs ZipFile . entries Enumeration . nextElement ZipEntry . isDirectory ZipFile . getInputStream FileOutputStream . <init> ZipEntry . getName BufferedInputStream . <init> BufferedOutputStream . <init> BufferedInputStream . read BufferedOutputStream . write BufferedOutputStream . flush BufferedOutputStream . close BufferedInputStream . close ZipFile . close System . gc
read a zip file
ZipFile . <init> ZipFile . entries Enumeration . nextElement InputStreamReader . <init> BufferedReader . <init> BufferedReader . readLine BufferedReader . close ZipFile . close
initialize internal hash tables with jar file resources
ZipFile . <init> ZipFile . entries Enumeration . nextElement Integer . <init> ZipEntry . getName ZipEntry . getSize Hashtable < String , Integer > . put ZipFile . close FileInputStream . <init> BufferedInputStream . <init> ZipInputStream . <init> ZipInputStream . getNextEntry ZipEntry . isDirectory ZipEntry . getName ZipEntry . getSize Hashtable < String , Integer > . get ZipInputStream . read Hashtable < String > . put FileInputStream . close BufferedInputStream . close ZipInputStream . close
parse jar file
ZipFile . <init> ZipFile . entries Enumeration . nextElement Map < String , String > . containsKey Map < String , String > . put Map < String , String > . get Map < String , String > . put
parse jar file
ZipFile . <init> ZipFile . entries Enumeration . nextElement Map < String , String > . containsKey Map < String , String > . put
parse a jar file and adds all the classes found to classes and all other files to files found
ZipFile . <init> ZipFile . entries Enumeration . nextElement Map < String > . put Map < String , InputStream > . put ZipFile . getInputStream Map < String , InputStream > . put
parse a jar file and adds all the classes found to classes and all other files to files found
ZipFile . <init> ZipFile . entries Enumeration . nextElement Map < String > . put Pattern . matcher ZipFile . getInputStream ZipEntry . getName Map < String , InputStream > . put
parse a jar file and adds all the classes found to classes and all other files to files found
ZipFile . <init> ZipFile . entries Enumeration . nextElement Map < String > . put ZipEntry . getName Map < String , InputStream > . put ZipFile . getInputStream
parse a jar file and adds all the classes found to classes and all other files to files found
ZipFile . <init> ZipFile . entries Enumeration . nextElement Map < String > . put ZipEntry . getName Pattern . matcher ZipEntry . getName Map < String , InputStream > . put
parse a jar file and adds all the classes found to classes and all other files to files found
ZipFile . <init> ZipFile . entries Enumeration . nextElement Map < String > . put ZipEntry . getName ZipFile . getInputStream ZipEntry . getName Map < String , InputStream > . put
create a configuration from a file
ZipFile . <init> ZipFile . entries Enumeration . nextElement ObjectInputStream . <init> ZipFile . getInputStream ObjectInputStream . readObject Configuration . cast BufferedInputStream . <init> ZipFile . getInputStream File . <init> File . deleteOnExit FileOutputStream . <init> BufferedOutputStream . <init> BufferedOutputStream . write BufferedOutputStream . flush BufferedOutputStream . close BufferedInputStream . close ZipFile . close
check if its open document file
ZipFile . <init> ZipFile . entries Enumeration . nextElement Set < String > . contains
extract specified entries from jar file , via zip file
ZipFile . <init> ZipFile . entries Enumeration . nextElement Set < ZipEntry > . add ZipEntry . getName String . startsWith ZipFile . getInputStream Set < ZipEntry > . add ZipFile . close
parse jar file
ZipFile . <init> ZipFile . entries Enumeration . nextElement String . endsWith Map < String , String > . get Map < String , String > . put
check if a zip file is valid by running through it and checking for any <unk> and crc failures
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast CRC32 . <init> BufferedInputStream . <init> CheckedInputStream . <init> CheckedInputStream . read ZipFile . close
check if a zip file is valid by running through it and checking for any <unk> and crc failures
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast CRC32 . <init> ZipFile . getInputStream BufferedInputStream . <init> CheckedInputStream . <init> CRC32 . getValue ZipFile . close
check if a zip file is valid by running through it and checking for any <unk> and crc failures
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast CRC32 . <init> ZipFile . getInputStream BufferedInputStream . <init> CheckedInputStream . <init> ZipFile . close
this function extract a specified zip archive
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast File . <init> File . exists ZipEntry . getName FileOutputStream . <init> ZipFile . getInputStream InputStream . read FileOutputStream . write InputStream . close FileOutputStream . close
unzip an archive into the given output folder
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast File . <init> File . mkdir File . <init> ZipEntry . getName File . <init> ZipFile . getInputStream BufferedOutputStream . <init> ZipFile . close
extract zip archive contents into destination directory
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast File . <init> File . mkdirs File . <init> File . getParentFile File . createNewFile ZipFile . getInputStream BufferedOutputStream . <init> ZipFile . close
this part of code has get from : http : www
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast File . <init> File . mkdirs File . <init> ZipFile . getInputStream BufferedOutputStream . <init> ZipFile . close
this part of code has get from : http : www
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast File . <init> File . mkdirs File . <init> ZipFile . getInputStream ZipEntry . getName BufferedOutputStream . <init> ZipFile . close
extract zip file content to the target directory
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast File . <init> File . mkdirs File . isDirectory File . getParentFile File . exists ZipFile . getInputStream FileOutputStream . <init>
initialize internal hash tables with jar file resources
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast Hashtable . put ZipEntry . getSize Integer . <init> ZipFile . close FileInputStream . <init> BufferedInputStream . <init> ZipInputStream . <init> ZipInputStream . getNextEntry Integer . intValue Hashtable . get Integer . intValue Hashtable . get ZipInputStream . read Hashtable . put
initialize internal hash tables with jar file resources
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast Hashtable < String , Integer > . put Integer . <init> ZipEntry . getSize Integer . <init> Hashtable < String , Integer > . put ZipFile . close FileInputStream . <init> BufferedInputStream . <init> ZipInputStream . <init> Hashtable < String , Integer > . get Integer . intValue Hashtable < String , Integer > . get ZipInputStream . read Hashtable < String > . put
initialize internal hash tables with jar file resources
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast Hashtable < String , Integer > . put Integer . <init> ZipEntry . getSize Integer . <init> ZipFile . close FileInputStream . <init> BufferedInputStream . <init> ZipInputStream . <init> ZipInputStream . read Hashtable < String > . put
initialize internal hash tables with jar file resources
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast Integer . <init> Hashtable . put ZipEntry . getSize Integer . <init> Hashtable . put ZipFile . close FileInputStream . <init> BufferedInputStream . <init> ZipInputStream . <init> Integer . cast Integer . intValue ZipInputStream . read Hashtable . put
initialize internal hashmaps with jar or zip file resources
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast Integer . <init> ZipEntry . getName HashMap . put ZipFile . close FileInputStream . <init> BufferedInputStream . <init> ZipInputStream . <init> ZipInputStream . getNextEntry Integer . intValue HashMap . get Integer . intValue ZipInputStream . read HashMap . put
initialize internal hash tables with jar file resources
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast Integer . <init> ZipEntry . getName Hashtable . put ZipFile . close FileInputStream . <init> BufferedInputStream . <init> ZipInputStream . <init> ZipInputStream . getNextEntry Integer . intValue Hashtable . get ZipInputStream . read
initialize internal hash tables with jar file resources
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast Integer . <init> ZipEntry . getName Hashtable < String , Integer > . put ZipFile . close FileInputStream . <init> BufferedInputStream . <init> ZipInputStream . <init> ZipInputStream . read Hashtable < String > . put ZipInputStream . close FileInputStream . close
initialize internal hash tables with jar file resources
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast Integer . <init> ZipEntry . getName ZipEntry . getSize Hashtable . put ZipFile . close FileInputStream . <init> BufferedInputStream . <init> ZipInputStream . <init> ZipInputStream . getNextEntry Integer . cast Integer . intValue ZipInputStream . read Hashtable . put
check if a <unk> contains a given entry
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast String . matches ZipFile . close
unzip a file and parses each element one at a time
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName BufferedInputStream . <init> ZipEntry . getName ZipFile . getInputStream BufferedInputStream . <init>
find the tasks in the specified jar and adds them to the properties list
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName ClassLoader . loadClass Class . isAssignableFrom String . substring Set < String > . add String . lastIndexOf
unzip the zip file at the specified path to the specified directory optionally deletes the zip afterwards
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName File . <init> File . exists File . delete ZipFile . close
unpack a zip file , preserving the directory structure of the zip file
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName File . <init> File . getAbsolutePath File . <init> ZipEntry . isDirectory BufferedOutputStream . <init> ZipFile . getInputStream BufferedInputStream . <init> BufferedInputStream . read BufferedOutputStream . write BufferedInputStream . close BufferedOutputStream . close ZipFile . close JOptionPane . showMessageDialog File . getName File . getAbsolutePath
unpack a zip file
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName File . <init> File . getParentFile BufferedOutputStream . <init> ZipFile . close
as of release 0
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName File . <init> File . getParentFile File . exists File . mkdirs File . getAbsolutePath ZipEntry . getName File . mkdirs ZipEntry . getName ZipFile . getInputStream ZipEntry . getName File . <init> ZipEntry . getName File . <init> ZipEntry . getName JarOutputStream . <init> ZipEntry . getName FileOutputStream . <init> InputStream . read FileOutputStream . write ZipEntry . getName System . getProperty ZipEntry . getName InputStream . close FileOutputStream . close JarOutputStream . close ZipFile . close
as of release 0
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName File . <init> File . getParentFile File . mkdirs ZipEntry . getName File . getAbsolutePath File . exists File . mkdirs ZipEntry . getName ZipFile . getInputStream ZipEntry . getName File . <init> ZipEntry . getName File . <init> ZipEntry . getName FileOutputStream . <init> JarOutputStream . <init> ZipEntry . getName FileOutputStream . <init> InputStream . read FileOutputStream . write ZipEntry . getName System . getProperty ZipEntry . getName InputStream . close FileOutputStream . close JarOutputStream . close ZipFile . close
as of release 0
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName File . <init> File . getParentFile File . mkdirs ZipEntry . getName File . getAbsolutePath File . mkdirs ZipEntry . getName ZipFile . getInputStream ZipEntry . getName File . <init> ZipEntry . getName File . <init> JarOutputStream . <init> ZipEntry . getName FileOutputStream . <init> FileOutputStream . write ZipEntry . getName System . getProperty ZipEntry . getName InputStream . close FileOutputStream . close JarOutputStream . close ZipFile . close
un <unk> a given zip file into cache directory with derived name
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName File . <init> File . getParentFile File . mkdirs ZipEntry . isDirectory ZipFile . getInputStream BufferedInputStream . <init> FileOutputStream . <init> BufferedOutputStream . <init> BufferedInputStream . read BufferedOutputStream . write BufferedOutputStream . flush BufferedOutputStream . close BufferedInputStream . close ZipFile . close AbstractCollection . <unk> File . delete FileOutputStream . close BufferedOutputStream . close BufferedInputStream . close
this method <unk> the cms war file
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName File . <init> File . mkdir BufferedOutputStream . <init> ZipFile . close
it is highly recommended to use a <unk> , such as
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName File . <init> File . mkdirs BufferedOutputStream . <init> ZipFile . close
extract zip file to the target directory
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName File . <init> File . mkdirs File . isDirectory File . getParentFile File . exists File . isDirectory ZipFile . getInputStream FileOutputStream . <init>
this method <unk> a zip file recursively
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName File . <init> File . mkdirs ZipEntry . getName BufferedOutputStream . <init> ZipFile . close
extract a given zip file to a given directory
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName File . <init> File . mkdirs ZipFile . close
unzip the tc name compressed zip file which should be located relative to tc directory
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName File . mkdir File . <init> ZipEntry . getName BufferedOutputStream . <init> ZipFile . close File . delete File . <init>
<unk> up
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName HashMap < String , Object > . get HashMap < String , Object > . put ZipEntry . <init> ZipOutputStream . putNextEntry ZipEntry . getSize ZipFile . getInputStream InputStream . read ZipOutputStream . write ZipOutputStream . flush ZipOutputStream . closeEntry File . <init>
initialize internal hash tables with jar file resources
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName Hashtable . put ZipEntry . getSize Hashtable . put ZipFile . close FileInputStream . <init> BufferedInputStream . <init> ZipInputStream . <init> Integer . intValue Hashtable . get Integer . intValue Hashtable . get ZipInputStream . read Hashtable . put
initialize internal hash tables with jar file resources
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName Hashtable . put
initialize internal hash tables with jar file resources
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName Map < String , Integer > . put ZipFile . close FileInputStream . <init> BufferedInputStream . <init> ZipInputStream . <init> ZipInputStream . getNextEntry Integer . intValue Map < String , Integer > . get ZipInputStream . read Map < String > . put
<unk> up
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName Object . <init> HashMap < String , Object > . put ZipEntry . <init> ZipOutputStream . putNextEntry ZipFile . getInputStream InputStream . read ZipOutputStream . write ZipOutputStream . flush ZipOutputStream . closeEntry ZipFile . close File . <init> File . exists
<unk> up
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName Object . <init> Hashtable . put ZipEntry . <init> ZipOutputStream . putNextEntry ZipEntry . getSize ZipFile . getInputStream InputStream . read ZipOutputStream . write ZipOutputStream . flush ZipOutputStream . closeEntry File . <init>
create a configuration file for jar zip files that do not have one
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName String . endsWith String . indexOf String . startsWith String . charAt StringBuffer . <init> String . length String . substring String . lastIndexOf String . substring String . replace StringBuffer . append ByteArrayInputStream . <init> StringBuffer . toString
create a configuration file for jar zip files that do not have one
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName String . endsWith String . indexOf String . startsWith String . charAt StringBuffer . <init> String . length String . substring String . lastIndexOf String . substring String . replace StringBuffer . append ByteArrayInputStream . <init>
create a configuration file for jar zip files that do not have one
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName String . endsWith String . indexOf String . startsWith String . indexOf Character . isLowerCase String . indexOf StringBuffer . <init> String . substring String . lastIndexOf String . substring String . replace StringBuffer . append StringBuffer . toString ByteArrayInputStream . <init>
create a configuration file for jar zip files that do not have one
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName String . endsWith String . indexOf String . startsWith String . indexOf String . charAt StringBuffer . <init> String . length String . substring String . lastIndexOf String . substring String . replace StringBuffer . append StringBuffer . toString ByteArrayInputStream . <init>
go through all the jar files and construct the index table
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName String . equals ZipEntry . isDirectory ZipFile . close
create a configuration file for jar zip files that do not have one
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName String . indexOf String . endsWith String . indexOf String . startsWith String . indexOf Character . isLowerCase StringBuffer . <init> String . substring String . lastIndexOf String . substring String . replace StringBuffer . append StringBuffer . toString ByteArrayInputStream . <init>
create a configuration file for jar zip files that do not have one
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName String . indexOf String . endsWith String . indexOf String . startsWith String . indexOf String . charAt StringBuffer . <init> String . length String . substring String . lastIndexOf String . substring String . replace StringBuffer . append StringBuffer . toString ByteArrayInputStream . <init>
create a configuration file for jar zip files that do not have one
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName String . indexOf String . endsWith String . startsWith String . indexOf String . charAt StringBuffer . <init> String . substring String . lastIndexOf String . substring String . replace StringBuffer . append StringBuffer . toString ByteArrayInputStream . <init>
create a configuration file for jar zip files that do not have one
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName String . indexOf String . startsWith Character . isLowerCase StringBuffer . <init> String . length String . substring String . lastIndexOf String . substring String . replace StringBuffer . append ByteArrayInputStream . <init>
create a configuration file for jar zip files that do not have one
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName String . indexOf String . startsWith String . charAt Character . isLowerCase StringBuffer . <init> String . substring String . lastIndexOf String . substring String . replace StringBuffer . append StringBuffer . toString ByteArrayInputStream . <init>
create a configuration file for jar zip files that do not have one
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName String . indexOf String . startsWith String . indexOf Character . isLowerCase StringBuffer . <init> String . length String . substring String . lastIndexOf String . substring String . replace StringBuffer . append ByteArrayInputStream . <init> StringBuffer . toString
create a configuration file for jar zip files that do not have one
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName String . indexOf String . startsWith String . indexOf Character . isLowerCase StringBuffer . <init> String . length String . substring String . lastIndexOf String . substring String . replace StringBuffer . append ByteArrayInputStream . <init>
create a configuration file for jar zip files that do not have one
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName String . indexOf String . startsWith String . indexOf Character . isLowerCase StringBuffer . <init> String . length String . substring String . lastIndexOf String . substring String . replace StringBuffer . append StringBuffer . toString ByteArrayInputStream . <init>
create a configuration file for jar zip files that do not have one
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName String . indexOf String . startsWith String . indexOf Character . isLowerCase StringBuffer . <init> String . substring String . lastIndexOf String . substring String . replace StringBuffer . append ByteArrayInputStream . <init>
create a configuration file for jar zip files that do not have one
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName String . indexOf String . startsWith String . indexOf String . charAt String . indexOf Character . isLowerCase StringBuffer . <init> String . length String . substring String . lastIndexOf String . substring String . replace StringBuffer . append ByteArrayInputStream . <init> StringBuffer . toString ByteArrayInputStream . <init>
unzip files
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName String . lastIndexOf String . substring File . <init> File . mkdirs String . endsWith FileOutputStream . <init> ZipFile . getInputStream OutputStream . close InputStream . close
this looks for rule set <unk> in the given jar file and adds any instances it finds to the list of discovered <unk>
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName String . replace File . getAbsolutePath
create a configuration file for jar zip files that do not have one
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName String . startsWith String . indexOf String . charAt StringBuffer . <init> String . substring String . lastIndexOf String . substring String . replace StringBuffer . append StringBuffer . toString ByteArrayInputStream . <init>
unzip files
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName String . substring File . mkdirs File . <init> FileOutputStream . <init> ZipFile . getInputStream OutputStream . close InputStream . close
perform scan
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName System . currentTimeMillis ZipFile . close
take from http : www
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName ZipEntry . getSize ZipEntry . getCompressedSize String . substring File . <init> String . endsWith File . mkdirs File . getParentFile File . mkdirs ZipFile . getInputStream FileOutputStream . <init> FileOutputStream . write InputStream . close FileOutputStream . close ZipFile . close
see the contents of a zip file
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName ZipEntry . getSize ZipEntry . getCompressedSize
initialize internal hash tables with jar file resources
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName ZipEntry . getSize ZipEntry . getName Hashtable . put ZipFile . close FileInputStream . <init> BufferedInputStream . <init> ZipInputStream . <init> Hashtable . get Integer . cast Integer . intValue ZipInputStream . read
initialize internal hash tables with jar file resources
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName ZipEntry . getSize ZipEntry . getName Map . put ZipFile . close FileInputStream . <init> BufferedInputStream . <init> ZipInputStream . <init> Integer . cast Integer . intValue ZipInputStream . read Map . put
initialize internal hash tables with jar file resources
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName ZipEntry . getSize ZipEntry . getName Map . put ZipFile . close FileInputStream . <init> BufferedInputStream . <init> ZipInputStream . <init> ZipInputStream . getNextEntry Integer . cast Integer . intValue ZipInputStream . read Map . put
unzip a file to a specified directory
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName ZipEntry . isDirectory File . mkdirs File . <init> ZipFile . getInputStream File . <init> File . getParentFile FileOutputStream . <init> BufferedOutputStream . <init> InputStream . close BufferedOutputStream . close ZipFile . close
it is highly recommended to use a <unk> , such as
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName ZipEntry . isDirectory ZipEntry . getName File . mkdirs File . <init> BufferedOutputStream . <init> ZipFile . close
get the <unk> file name in zip folder
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName ZipFile . close
extract a given file name from a zip file and deletes the zip file afterwards
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName ZipFile . getInputStream BufferedOutputStream . <init> File . <init> File . delete
verify the integrity of a <unk>
ZipFile . <init> ZipFile . entries Enumeration . nextElement ZipEntry . cast ZipEntry . getName ZipFile . getInputStream InputStream . close ZipFile . close