Package | Description |
---|---|
com.j256.simplezip |
Top level functionality for reading and writing Zip files.
|
com.j256.simplezip.format |
Class representing the various different on-disk representation of Zip files.
|
Modifier and Type | Method and Description |
---|---|
ZipFileHeader |
BufferedOutputStream.finishFileData(long crc32,
long uncompressedSize)
We are done with the writing of the file data so dump everything if the buffer hasn't given up.
|
ZipFileHeader |
ZipFileInput.readFileHeader()
Read the next file header from the zip file.
|
Modifier and Type | Method and Description |
---|---|
Iterator<ZipFileHeader> |
ZipFileInput.fileHeaderIterator()
Return an iterator that can be used to step across the file-headers.
|
Modifier and Type | Method and Description |
---|---|
void |
BufferedOutputStream.setFileHeader(ZipFileHeader fileHeader)
This saves the file-header and effectively turns on the memory buffer.
|
void |
ZipFileOutput.writeFileHeader(ZipFileHeader fileHeader)
Write a file-header which starts the Zip-file.
|
Modifier and Type | Method and Description |
---|---|
ZipFileHeader |
ZipFileHeader.Builder.build()
Build an instance of the file-header.
|
static ZipFileHeader |
ZipFileHeader.read(RewindableInputStream inputStream)
Read from the input stream.
|
Modifier and Type | Method and Description |
---|---|
static ZipFileHeader.Builder |
ZipFileHeader.Builder.fromHeader(ZipFileHeader header)
Start a builder from a previous Zip file-header.
|
void |
ZipCentralDirectoryFileEntry.Builder.setFileHeader(ZipFileHeader header)
Create a builder from an existing file-header.
|
This documentation content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.