docstring
stringlengths
3
2.38k
code
stringlengths
9
99.4k
take a zipped file and <unk> it to the given destination directory
ZipInputStream . <init> ZipInputStream . getNextEntry ZipInputStream . close
this methods wraps the read stream input stream in method into a zip <unk> stream
ZipInputStream . <init> ZipInputStream . getNextEntry ZipInputStream . close
read zip from input stream and returns an instance of zip archive which cache each entry from the zip <unk> map
ZipInputStream . <init> ZipInputStream . getNextEntry ZipInputStream . closeEntry ZipInputStream . close
load document from file
ZipInputStream . <init> ZipInputStream . getNextEntry ZipInputStream . closeEntry ZipInputStream . getNextEntry Scanner . <init> ZipInputStream . closeEntry ZipInputStream . close Document . <init>
read input as zipped file and return each entry found
ZipInputStream . <init> ZipInputStream . getNextEntry ZipInputStream . closeEntry
read in a zip compressed byte array for the specified from the specified data input and returns the decompressed byte array
ZipInputStream . <init> ZipInputStream . getNextEntry ZipInputStream . read ByteArrayOutputStream . <init> ByteArrayOutputStream . write ZipInputStream . read Math . max ByteArrayOutputStream . write ByteArrayOutputStream . toByteArray
uncompress zip content
ZipInputStream . <init> ZipInputStream . getNextEntry ZipInputStream . read OutputStream . write ZipInputStream . close
read zip file from an InputStream , and return the input stream for content
ZipInputStream . <init> ZipInputStream . getNextEntry
return a zip input stream wrapping given input stream
ZipInputStream . <init> ZipInputStream . getNextEntry
return the given input stream if it is already a <unk> , otherwise creates a zip input stream from the given input stream
ZipInputStream . <init> ZipInputStream . instance ZipInputStream . cast ZipInputStream . <init>
replace the first part of the content of the given entry that matches with each regular expressions with the provided replacements directly into the target zip file
ZipInputStream . <init> ZipOutputStream . <init> ZipInputStream . getNextEntry ZipEntry . <init> ZipOutputStream . putNextEntry String . replaceFirst ZipEntry . setSize ZipOutputStream . closeEntry
replace the fields in the src documents by the values and write the resulting file to dest
ZipInputStream . <init> ZipOutputStream . <init> ZipInputStream . getNextEntry ZipEntry . getName ZipEntry . <init> ZipOutputStream . putNextEntry ZipInputStream . closeEntry ZipOutputStream . closeEntry
read a block of bytes from the current zip entry
ZipInputStream . <unk> ZipInputStream . <unk> CRC32 . update ZipEntry . getCrc CRC32 . reset
search from url
ZipInputStream . cast ZipInputStream . <init> ZipInputStream . getNextEntry ZipEntry . getName URL . toExternalForm URL . <init> Set . add ZipInputStream . getNextEntry ZipInputStream . close URL . toExternalForm String . split String . lastIndexOf String . substring String . startsWith URL . <init>
close the current zip entry and prepares to read the next entry
ZipInputStream . checkClosed JarEntry . cast JarEntry . getAttributes Attributes . containsKey PushbackInputStream . cast PushbackInputStream . unread ZipInputStream . <unk> CRC32 . reset AssertionError . <init> Throwable . initCause
close the current zip entry and prepares to read the next entry
ZipInputStream . checkClosed JarEntry . cast JarEntry . getAttributes Attributes . containsKey PushbackInputStream . unread ZipInputStream . <unk> CRC32 . reset AssertionError . <init> Throwable . initCause
close the current zip entry and positions to read the next entry
ZipInputStream . checkClosed JarEntry . cast JarEntry . getAttributes Attributes . containsKey ZipInputStream . skip PushbackInputStream . cast PushbackInputStream . unread ZipInputStream . <unk> CRC32 . reset AssertionError . <init> Throwable . initCause
close the current zip entry and positions to read the next entry
ZipInputStream . checkClosed JarEntry . cast JarEntry . getAttributes Attributes . containsKey ZipInputStream . skip PushbackInputStream . unread ZipInputStream . <unk> CRC32 . reset AssertionError . <init> Throwable . initCause
close the current zip entry and positions to read the next entry
ZipInputStream . checkClosed JarEntry . cast JarEntry . getAttributes PushbackInputStream . cast PushbackInputStream . unread ZipInputStream . <unk> CRC32 . reset AssertionError . <init> Throwable . initCause
close the current zip entry and positions to read the next entry
ZipInputStream . checkClosed JarEntry . cast JarEntry . getAttributes PushbackInputStream . unread ZipInputStream . <unk> CRC32 . reset AssertionError . <init> AssertionError . initCause
close the current zip entry and positions to read the next entry
ZipInputStream . checkClosed JarEntry . cast JarEntry . getAttributes ZipInputStream . skip PushbackInputStream . cast PushbackInputStream . unread ZipInputStream . <unk> CRC32 . reset AssertionError . <init> AssertionError . initCause
close the current zip entry and positions to read the next entry
ZipInputStream . checkClosed JarEntry . getAttributes Attributes . containsKey PushbackInputStream . unread ZipInputStream . <unk> CRC32 . reset AssertionError . <init> Throwable . initCause
close the current zip entry and positions to read the next entry
ZipInputStream . checkClosed JarEntry . getAttributes Attributes . containsKey ZipInputStream . skip PushbackInputStream . cast PushbackInputStream . unread ZipInputStream . <unk> CRC32 . reset AssertionError . <init> Throwable . initCause
close the current zip entry and positions to read the next entry
ZipInputStream . checkClosed JarEntry . getAttributes Attributes . containsKey ZipInputStream . skip PushbackInputStream . unread ZipInputStream . <unk> CRC32 . reset AssertionError . <init> AssertionError . initCause
close the current zip entry and prepares to read the next entry
ZipInputStream . checkClosed JarEntry . getAttributes PushbackInputStream . cast PushbackInputStream . unread ZipInputStream . <unk> CRC32 . reset AssertionError . <init> Throwable . initCause
close the current zip entry and prepares to read the next entry
ZipInputStream . checkClosed JarEntry . instance JarEntry . cast JarEntry . getAttributes Attributes . containsKey PushbackInputStream . unread ZipInputStream . <unk> CRC32 . reset AssertionError . <init> Throwable . initCause
close the current zip entry and prepares to read the next entry
ZipInputStream . checkClosed JarEntry . instance JarEntry . cast JarEntry . getAttributes PushbackInputStream . cast PushbackInputStream . unread ZipInputStream . <unk> CRC32 . reset AssertionError . <init> Throwable . initCause
close the current zip entry and positions to read the next entry
ZipInputStream . checkClosed JarEntry . instance JarEntry . cast JarEntry . getAttributes ZipInputStream . skip PushbackInputStream . cast PushbackInputStream . unread ZipInputStream . <unk> CRC32 . reset AssertionError . <init> Throwable . initCause
close the current zip entry and positions to read the next entry
ZipInputStream . checkClosed JarEntry . instance JarEntry . cast JarEntry . getAttributes ZipInputStream . skip PushbackInputStream . unread ZipInputStream . <unk> CRC32 . reset AssertionError . <init> AssertionError . initCause
close the current zip entry and prepares to read the next entry
ZipInputStream . checkClosed JarEntry . instance JarEntry . getAttributes Attributes . containsKey PushbackInputStream . unread ZipInputStream . <unk> CRC32 . reset AssertionError . <init> Throwable . initCause
close the current zip entry and positions to read the next entry
ZipInputStream . checkClosed JarEntry . instance JarEntry . getAttributes ZipInputStream . skip PushbackInputStream . cast PushbackInputStream . unread ZipInputStream . <unk> CRC32 . reset AssertionError . <init> Throwable . initCause
destroy the input streams used in reading a checkpoint file
ZipInputStream . close BufferedInputStream . close FileInputStream . close
read the next zip file entry and positions stream at the beginning of the entry data
ZipInputStream . closeEntry CRC32 . reset
open the next entry from the zip archive , and return its description
ZipInputStream . closeEntry ZipInputStream . <unk> ZipInputStream . close Integer . toHexString ZipInputStream . <unk> ZipInputStream . <unk> ZipInputStream . <unk> ZipInputStream . readFully String . <init> AssertionError . <init> ZipInputStream . <unk> ZipEntry . setMethod ZipEntry . setCrc ZipEntry . setSize ZipEntry . setCompressedSize ZipEntry . setTime ZipInputStream . readFully ZipEntry . setExtra System . arraycopy
open the next entry from the zip archive , and return its description
ZipInputStream . closeEntry ZipInputStream . <unk> ZipInputStream . close Integer . toHexString ZipInputStream . <unk> ZipInputStream . <unk> ZipInputStream . <unk> ZipInputStream . readFully ZipInputStream . <unk> String . <init> ZipInputStream . <unk> ZipEntry . setMethod ZipEntry . setCrc ZipEntry . setSize ZipEntry . setCompressedSize ZipEntry . <unk> ZipInputStream . readFully ZipEntry . setExtra System . arraycopy
open the next entry from the zip archive , and return its description
ZipInputStream . closeEntry ZipInputStream . <unk> ZipInputStream . close ZipInputStream . <unk> ZipInputStream . <unk> ZipInputStream . <unk> ZipInputStream . readFully String . <init> Error . <init> ZipInputStream . <unk> ZipEntry . setMethod ZipEntry . setCrc ZipEntry . setSize ZipEntry . setCompressedSize ZipEntry . <unk> ZipInputStream . readFully ZipEntry . setExtra System . arraycopy
read the next entry from this zip input stream or null <unk> more entries are present
ZipInputStream . closeEntry ZipInputStream . getLong ZipInputStream . getShort Messages . getString ZipInputStream . getShort ZipInputStream . getLong ZipInputStream . getShort Messages . getString ZipInputStream . getShort Util . <unk> ZipInputStream . <unk> ZipEntry . setMethod ZipEntry . setCrc ZipEntry . setSize ZipEntry . setCompressedSize ZipEntry . setExtra
read the next entry from this zip input stream
ZipInputStream . closeEntry ZipInputStream . getLong ZipInputStream . getShort Messages . getString ZipInputStream . getShort ZipInputStream . getLong ZipInputStream . getShort Messages . getString ZipInputStream . getShort Util . <unk> ZipInputStream . <unk> ZipEntry . setMethod ZipEntry . setCrc ZipEntry . setSize ZipEntry . setCompressedSize ZipEntry . setExtra
read the next entry from this zip input stream
ZipInputStream . closeEntry ZipInputStream . getLong ZipInputStream . getShort Messages . getString ZipInputStream . getShort ZipInputStream . getLong ZipInputStream . getShort Messages . getString ZipInputStream . getShort ZipInputStream . <unk> ZipEntry . setMethod ZipEntry . setCrc ZipEntry . setSize ZipEntry . setCompressedSize ZipEntry . setExtra
read the next entry from this zip input stream or null <unk> more entries are present
ZipInputStream . closeEntry ZipInputStream . getLong ZipInputStream . getShort Messages . getString ZipInputStream . getShort ZipInputStream . getLong ZipInputStream . getShort ZipInputStream . <unk> ZipEntry . setMethod ZipEntry . setCrc ZipEntry . setSize ZipEntry . setCompressedSize ZipEntry . setExtra
read the next entry from this zip input stream or null <unk> more entries are present
ZipInputStream . closeEntry ZipInputStream . getLong ZipInputStream . getShort ZipInputStream . getLong ZipInputStream . getShort Util . <unk> ZipInputStream . <unk> ZipEntry . setMethod ZipEntry . setCrc ZipEntry . setSize ZipEntry . setCompressedSize ZipEntry . setExtra
read the next entry from this zip input stream
ZipInputStream . closeEntry ZipInputStream . getLong ZipInputStream . getShort ZipInputStream . getLong ZipInputStream . getShort ZipInputStream . <unk> ZipEntry . setMethod ZipEntry . setCrc ZipEntry . setSize ZipEntry . setCompressedSize ZipEntry . setExtra
read the next zip entry from this zip input stream
ZipInputStream . closeEntry ZipInputStream . getLong ZipInputStream . getShort ZipInputStream . getLong ZipInputStream . getShort ZipInputStream . <unk> ZipEntry . setMethod ZipEntry . setCrc ZipEntry . setSize ZipEntry . setCompressedSize ZipEntry . setExtra
read from the current zip entry into an array of bytes
ZipInputStream . ensureOpen ZipInputStream . <unk> CRC32 . update CRC32 . getValue Long . toHexString CRC32 . getValue Long . toHexString InternalError . <init>
read the next zip file entry and positions the stream at the beginning of the entry data
ZipInputStream . ensureOpen ZipInputStream . closeEntry CRC32 . reset ZipInputStream . <unk> ZipEntry . getSize
decompress archive and creates original folder structure
ZipInputStream . getNextEntry DataInputStream . readUTF DataInputStream . readLong File . getParentFile Utilities . copy MessageFormat . format ZipInputStream . getNextEntry
position the given input stream in the zip file format to the first zip file entry that satisfies the filter
ZipInputStream . getNextEntry File . <init> FileFilter . accept
decompress zip file
ZipInputStream . getNextEntry File . getPath ZipEntry . getName File . <init> ZipEntry . isDirectory File . mkdirs ZipInputStream . closeEntry
extract a zip file to a directory
ZipInputStream . getNextEntry File . mkdirs ZipEntry . getName FileOutputStream . <init> ZipInputStream . read FileOutputStream . write FileOutputStream . close ZipInputStream . getNextEntry
load data images + info from skin
ZipInputStream . getNextEntry String . lastIndexOf String . substring String . endsWith Hashtable . put InputStreamReader . <init> StringWriter . <init> InputStreamReader . read StringWriter . write StringWriter . toString Hashtable . put ZipInputStream . getNextEntry ZipInputStream . close
this is where the magic happens , each zip entry is decompressed and <unk> for the mapper
ZipInputStream . getNextEntry Text . <init> ByteArrayOutputStream . <init> ZipInputStream . read ByteArrayOutputStream . write ZipInputStream . closeEntry ByteArrayOutputStream . toByteArray
this is where the magic happens , each zip entry is decompressed and <unk> for the mapper
ZipInputStream . getNextEntry Text . <init> ByteArrayOutputStream . <init> ZipInputStream . read ByteArrayOutputStream . write ZipInputStream . closeEntry
entry bytes from zip bytes
ZipInputStream . getNextEntry ZipEntry . getName ByteArrayOutputStream . toByteArray ByteArrayOutputStream . flush ByteArrayOutputStream . close ZipInputStream . getNextEntry
extract the files from the given zip stream to into the given destination directory
ZipInputStream . getNextEntry ZipEntry . getName File . <init> File . getParentFile File . setLastModified
copy a zip stream to the given directory
ZipInputStream . getNextEntry ZipEntry . getName File . <init> File . mkdirs ZipEntry . getName File . <init> File . createNewFile ZipInputStream . closeEntry
unzip the passed stream to the given directory
ZipInputStream . getNextEntry ZipEntry . getName File . <init> File . mkdirs ZipInputStream . closeEntry
recursive enabled variant of add archive File , boolean
ZipInputStream . getNextEntry ZipEntry . getName String . endsWith ZipEntry . getName String . endsWith Stack < String > . clone Stack < String > . cast Stack < String > . push ZipInputStream . getNextEntry
get the next class file object from the jar
ZipInputStream . getNextEntry ZipEntry . getName String . endsWith ZipEntry . isDirectory ClassFile . <init> ClassFile . read ZipInputStream . getNextEntry
read zipped file from zip input stream that includes the construction saved in xml format and maybe image files
ZipInputStream . getNextEntry ZipEntry . getName String . equals Util . <unk> String . equals Util . <unk> String . equals Util . <unk> String . equals Util . <unk> Kernel . <unk> ImageIO . read ZipInputStream . closeEntry ZipInputStream . close Kernel . <unk>
return an input stream for the requested path
ZipInputStream . getNextEntry ZipEntry . getName String . equals ZipInputStream . getNextEntry BufferedInputStream . <init>
read file from zip
ZipInputStream . getNextEntry ZipEntry . getName String . equals
load data images + info from skin
ZipInputStream . getNextEntry ZipEntry . getName String . lastIndexOf String . substring Hashtable . put InputStreamReader . <init> StringWriter . <init> StringWriter . write Hashtable . put ZipInputStream . getNextEntry ZipInputStream . close
return the next element in the <unk>
ZipInputStream . getNextEntry ZipEntry . getName String . lastIndexOf String . substring ZipEntry . getSize ZipEntry . getName ZipEntry . getSize
copy specified contents of one jar to another
ZipInputStream . getNextEntry ZipEntry . getName String . replace List < String > . iterator Iterator < String > . hasNext Iterator < String > . next String . matches ZipEntry . <init> ZipEntry . getTime ZipEntry . setTime ZipOutputStream . putNextEntry ZipOutputStream . closeEntry ZipInputStream . closeEntry HashSet < String > . add
copy specified contents of one jar to another without the specified files TODO : it would be useful to be able to keep signature information from signed jar files , can we combine manifests and still have their content signed ?
ZipInputStream . getNextEntry ZipEntry . getName String . replace List < String > . iterator Iterator < String > . next HashSet < String > . contains ZipEntry . <init> ZipEntry . getTime ZipEntry . setTime ZipOutputStream . putNextEntry ZipOutputStream . closeEntry ZipInputStream . closeEntry HashSet < String > . add
go to next entry in the file
ZipInputStream . getNextEntry ZipEntry . getName Vector < String > . add ZipEntry . getName
initialize the import source it will read the zip input stream and create the list of files
ZipInputStream . getNextEntry ZipEntry . getName ZipEntry . getSize File . createTempFile File . deleteOnExit FileOutputStream . <init> FileOutputStream . close File . <init> Builder . <unk> File . getName Builder . <unk> File . <init> File . getParent List . add ZipInputStream . closeEntry ZipInputStream . getNextEntry ZipInputStream . close
seek to the relevant zip entry , populating the stream length accordingly
ZipInputStream . getNextEntry ZipEntry . getName ZipEntry . getSize
get the next class file object from the jar
ZipInputStream . getNextEntry ZipEntry . getName ZipEntry . isDirectory String . endsWith ClassFile . <init> ClassFile . read ZipInputStream . getNextEntry
add entries from the zip file
ZipInputStream . getNextEntry ZipEntry . getName ZipFile . put ZipInputStream . getNextEntry ZipInputStream . close
unpack a <unk> installation zip
ZipInputStream . getNextEntry ZipEntry . getName ZipInputStream . close
return an input stream for the requested path
ZipInputStream . getNextEntry ZipEntry . getName ZipInputStream . getNextEntry BufferedInputStream . <init>
get an input stream on a file from a zip
ZipInputStream . getNextEntry ZipEntry . getName
look through the zip stream and find an entry whose name is
ZipInputStream . getNextEntry ZipEntry . getName
read the next zip entry from the given zip input stream
ZipInputStream . getNextEntry ZipEntry . getName
initialize the import source it will read the zip input stream and create the list of files
ZipInputStream . getNextEntry ZipEntry . getSize File . createTempFile File . deleteOnExit FileOutputStream . <init> FileOutputStream . close File . <init> Builder . <unk> File . getName File . <init> File . getParent List . add ZipInputStream . closeEntry ZipInputStream . getNextEntry ZipInputStream . close Messages . getInstance
check if a zip stream contains more entries
ZipInputStream . getNextEntry ZipEntry . getSize ZipEntry . getName ZipEntry . isDirectory
iterate through the entries in a zip stream and builds a map with their contents
ZipInputStream . getNextEntry ZipEntry . isDirectory ByteArrayOutputStream . <init> ByteArrayOutputStream . toByteArray String . <init> ZipEntry . getName Map < String , String > . put ZipInputStream . closeEntry ZipInputStream . getNextEntry
iterate through the entries in a zip stream and builds a map with their contents
ZipInputStream . getNextEntry ZipEntry . isDirectory ByteArrayOutputStream . <init> String . <init> ZipEntry . getName Map < String , String > . put ZipInputStream . closeEntry ZipInputStream . getNextEntry
extract a zip input stream to the given directory
ZipInputStream . getNextEntry ZipEntry . isDirectory File . <init> File . getParentFile File . exists File . mkdirs
unzip the given input stream into the given path
ZipInputStream . getNextEntry ZipEntry . isDirectory File . <init> File . mkdir ZipEntry . getName File . <init> String . indexOf File . <init> File . mkdir String . substring Channels . newChannel FileOutputStream . getChannel
extract a zip file to a directory
ZipInputStream . getNextEntry ZipEntry . isDirectory File . <init> File . mkdirs ZipEntry . getName FileOutputStream . <init> ZipInputStream . read FileOutputStream . write FileOutputStream . close ZipInputStream . getNextEntry
search the given zip input stream for an entry , then stops
ZipInputStream . getNextEntry ZipEntry . isDirectory String . equals ZipInputStream . getNextEntry
return true iff the next temporary file exists , and then the get current path and open content method returns it
ZipInputStream . getNextEntry ZipEntry . isDirectory ZipEntry . getName MessageFormat . format ZipEntry . getName
extract the zip to which <unk> is pointing to destination path
ZipInputStream . getNextEntry ZipEntry . isDirectory ZipEntry . getName ZipInputStream . closeEntry ZipInputStream . getNextEntry
go to next entry
ZipInputStream . getNextEntry ZipEntry . isDirectory
copy archived content from source stream to destination
ZipInputStream . getNextEntry ZipEntry . toString ZipEntry . <init> ZipEntry . getTime ZipEntry . setTime ZipOutputStream . putNextEntry Executor . <unk> ZipOutputStream . closeEntry Executor . <unk> ZipInputStream . getNextEntry
feed a data file loader by <unk> the entries in a zip jar
ZipInputStream . getNextEntry ZipInputStream . <init> ZipEntry . getName String . lastIndexOf String . substring Matcher . group Matcher . matches Pattern . matcher Matcher . matches GZIPInputStream . <init> ZipInputStream . closeEntry ZipInputStream . getNextEntry
list contents
ZipInputStream . getNextEntry ZipInputStream . close
standard ctor for streams
ZipInputStream . instance BufferedInputStream . <init> BufferedInputStream . mark BufferedInputStream . reset ZipInputStream . <init> ZipInputStream . cast File . <init> AtomicInteger . incrementAndGet File . mkdirs File . listFiles File . delete ZipInputStream . getNextEntry String . split File . <init> FileOutputStream . <init> ZipInputStream . getNextEntry File . <init> FileOutputStream . <init> FileOutputStream . flush
create kml reader using provided input stream
ZipInputStream . instance ZipInputStream . cast PushbackInputStream . <init> PushbackInputStream . read PushbackInputStream . unread ZipInputStream . <init>
search from url
ZipInputStream . instance ZipInputStream . cast ZipInputStream . <init> ZipInputStream . getNextEntry ZipEntry . getName String . endsWith URL . toExternalForm Set . add ZipInputStream . getNextEntry ZipInputStream . close String . length URL . toExternalForm String . split String . lastIndexOf String . substring URL . <init>
search from url
ZipInputStream . instance ZipInputStream . cast ZipInputStream . <init> ZipInputStream . getNextEntry ZipEntry . getName String . endsWith URL . toExternalForm URL . <init> Set . add ZipInputStream . getNextEntry ZipInputStream . close String . length URL . toExternalForm String . split String . lastIndexOf URL . <init>
search from url
ZipInputStream . instance ZipInputStream . cast ZipInputStream . <init> ZipInputStream . getNextEntry ZipEntry . getName URL . toExternalForm Set . add ZipInputStream . getNextEntry ZipInputStream . close URL . toExternalForm String . split String . lastIndexOf String . substring String . startsWith URL . <init>
search from url
ZipInputStream . instance ZipInputStream . cast ZipInputStream . <init> ZipInputStream . getNextEntry ZipEntry . getName URL . toExternalForm Set . add ZipInputStream . getNextEntry ZipInputStream . close URL . toExternalForm String . split String . lastIndexOf String . substring URL . <init>
search from url
ZipInputStream . instance ZipInputStream . cast ZipInputStream . <init> ZipInputStream . getNextEntry ZipEntry . getName URL . toExternalForm URL . <init> Set . add ZipInputStream . getNextEntry ZipInputStream . close String . length URL . toExternalForm String . split String . lastIndexOf String . substring String . startsWith URL . <init>
zip the specified file or folder
ZipOutputStream . <init> ArrayList < File > . <init> ArrayList < File > . add ArrayList < File > . remove File . listFiles ArrayList < File > . add FileInputStream . <init> BufferedInputStream . <init> ZipEntry . <init> ZipOutputStream . putNextEntry BufferedInputStream . read ZipOutputStream . write ZipOutputStream . closeEntry ZipOutputStream . flush ZipOutputStream . close BufferedInputStream . close
zip the specified file or folder
ZipOutputStream . <init> ArrayList < File > . <init> ArrayList < File > . add ArrayList < File > . size ArrayList < File > . remove File . listFiles ArrayList < File > . addAll BufferedInputStream . <init> ZipOutputStream . putNextEntry BufferedInputStream . read ZipOutputStream . write BufferedInputStream . read ZipOutputStream . closeEntry BufferedInputStream . close ZipOutputStream . flush ZipOutputStream . close
copy the contents of a file
ZipOutputStream . <init> BufferedOutputStream . <init> File . getName ZipEntry . <init> ZipOutputStream . putNextEntry ZipOutputStream . closeEntry ZipOutputStream . close
ensure the specified zip archive exists
ZipOutputStream . <init> BufferedOutputStream . <init> ZipEntry . <init> ZipOutputStream . putNextEntry ZipOutputStream . close