| Modifier and Type | Method and Description |
|---|---|
FileHeader |
ZipFile.getFileHeader(String fileName)
Returns FileHeader if a file header with the given fileHeader
string exists in the zip model: If not returns null
|
| Modifier and Type | Method and Description |
|---|---|
List<FileHeader> |
ZipFile.getFileHeaders()
Returns the list of file headers in the zip file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ZipFile.extractFile(FileHeader fileHeader,
String destinationPath)
Extracts a specific file from the zip file to the destination path.
|
void |
ZipFile.extractFile(FileHeader fileHeader,
String destinationPath,
String newFileName)
Extracts a specific file from the zip file to the destination path.
|
void |
ZipFile.extractFile(FileHeader fileHeader,
String destinationPath,
String newFileName,
UnzipParameters unzipParameters)
Extracts a specific file from the zip file to the destination path.
|
void |
ZipFile.extractFile(FileHeader fileHeader,
String destinationPath,
UnzipParameters unzipParameters)
Extracts a specific file from the zip file to the destination path.
|
ZipInputStream |
ZipFile.getInputStream(FileHeader fileHeader)
Returns an input stream for reading the contents of the Zip file corresponding
to the input FileHeader.
|
void |
ZipFile.removeFile(FileHeader fileHeader)
Removes the file provided in the input file header from the zip file.
|
void |
ZipFile.renameFile(FileHeader fileHeader,
String newFileName)
Renames file name of the entry represented by file header.
|
| Modifier and Type | Method and Description |
|---|---|
FileHeader |
FileHeaderFactory.generateFileHeader(ZipParameters zipParameters,
boolean isSplitZip,
int currentDiskNumberStart,
Charset charset,
RawIO rawIO) |
static FileHeader |
HeaderUtil.getFileHeader(ZipModel zipModel,
String fileName) |
| Modifier and Type | Method and Description |
|---|---|
static List<FileHeader> |
HeaderUtil.getFileHeadersUnderDirectory(List<FileHeader> allFileHeaders,
String fileName) |
| Modifier and Type | Method and Description |
|---|---|
LocalFileHeader |
FileHeaderFactory.generateLocalFileHeader(FileHeader fileHeader) |
void |
HeaderWriter.updateLocalFileHeader(FileHeader fileHeader,
ZipModel zipModel,
SplitOutputStream outputStream) |
| Modifier and Type | Method and Description |
|---|---|
static List<FileHeader> |
HeaderUtil.getFileHeadersUnderDirectory(List<FileHeader> allFileHeaders,
String fileName) |
static long |
HeaderUtil.getTotalUncompressedSizeOfAllFileHeaders(List<FileHeader> fileHeaders) |
| Modifier and Type | Method and Description |
|---|---|
LocalFileHeader |
ZipInputStream.getNextEntry(FileHeader fileHeader,
boolean readUntilEndOfCurrentEntryIfOpen) |
void |
SplitInputStream.prepareExtractionForFileHeader(FileHeader fileHeader) |
| Modifier and Type | Method and Description |
|---|---|
FileHeader |
ZipOutputStream.closeEntry() |
| Modifier and Type | Method and Description |
|---|---|
List<FileHeader> |
CentralDirectory.getFileHeaders() |
| Modifier and Type | Method and Description |
|---|---|
void |
CentralDirectory.setFileHeaders(List<FileHeader> fileHeaders) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractExtractFileTask.extractFile(ZipInputStream zipInputStream,
FileHeader fileHeader,
String outputPath,
String newFileName,
ProgressMonitor progressMonitor,
byte[] readBuff) |
| Modifier and Type | Method and Description |
|---|---|
static void |
UnzipUtil.applyFileAttributes(FileHeader fileHeader,
File file) |
static ZipInputStream |
UnzipUtil.createZipInputStream(ZipModel zipModel,
FileHeader fileHeader,
char[] password) |
Copyright © 2021. All rights reserved.