程序包 | 说明 |
---|---|
com.fr.plugin.basic | |
com.fr.zip4j.core | |
com.fr.zip4j.crypto | |
com.fr.zip4j.io | |
com.fr.zip4j.model | |
com.fr.zip4j.unzip | |
com.fr.zip4j.util |
限定符和类型 | 方法和说明 |
---|---|
static byte[] |
PluginBaseUtils.getBytes(ZipFile zipFile,
FileHeader fileHeader) |
static void |
PluginBaseUtils.removeFromJar(ZipFile zipFile,
FileHeader fileHeader)
将jarFile的path删除
|
限定符和类型 | 方法和说明 |
---|---|
FileHeader |
ZipFileForPlugin.getFileHeader(java.lang.String fileName)
Returns FileHeader if a file header with the given fileHeader
string exists in the zip model: If not returns null
|
FileHeader |
ZipFile.getFileHeader(java.lang.String fileName)
Returns FileHeader if a file header with the given fileHeader
string exists in the zip model: If not returns null
|
限定符和类型 | 方法和说明 |
---|---|
void |
ZipFileForPlugin.extractFile(FileHeader fileHeader,
java.lang.String destPath)
Extracts a specific file from the zip file to the destination path.
|
void |
ZipFile.extractFile(FileHeader fileHeader,
java.lang.String destPath)
Extracts a specific file from the zip file to the destination path.
|
void |
ZipFileForPlugin.extractFile(FileHeader fileHeader,
java.lang.String destPath,
UnzipParameters unzipParameters)
Extracts a specific file from the zip file to the destination path.
|
void |
ZipFile.extractFile(FileHeader fileHeader,
java.lang.String destPath,
UnzipParameters unzipParameters)
Extracts a specific file from the zip file to the destination path.
|
void |
ZipFileForPlugin.extractFile(FileHeader fileHeader,
java.lang.String destPath,
UnzipParameters unzipParameters,
java.lang.String newFileName)
Extracts a specific file from the zip file to the destination path.
|
void |
ZipFile.extractFile(FileHeader fileHeader,
java.lang.String destPath,
UnzipParameters unzipParameters,
java.lang.String newFileName)
Extracts a specific file from the zip file to the destination path.
|
ZipInputStream |
ZipFileForPlugin.getInputStream(FileHeader fileHeader)
Returns an input stream for reading the contents of the Zip file corresponding
to the input FileHeader.
|
ZipInputStream |
ZipFile.getInputStream(FileHeader fileHeader)
Returns an input stream for reading the contents of the Zip file corresponding
to the input FileHeader.
|
LocalFileHeader |
HeaderReader.readLocalFileHeader(FileHeader fileHeader)
Reads local file header for the given file header
|
void |
ZipFileForPlugin.removeFile(FileHeader fileHeader)
Removes the file provided in the input file header from the zip file.
|
void |
ZipFile.removeFile(FileHeader fileHeader)
Removes the file provided in the input file header from the zip file.
|
构造器和说明 |
---|
StandardDecrypter(FileHeader fileHeader,
byte[] headerBytes) |
限定符和类型 | 字段和说明 |
---|---|
protected FileHeader |
CipherOutputStream.fileHeader |
限定符和类型 | 方法和说明 |
---|---|
FileHeader |
UnzipEngineParameters.getFileHeader() |
限定符和类型 | 方法和说明 |
---|---|
void |
UnzipEngineParameters.setFileHeader(FileHeader fileHeader) |
限定符和类型 | 方法和说明 |
---|---|
FileHeader |
UnzipEngine.getFileHeader() |
限定符和类型 | 方法和说明 |
---|---|
static void |
UnzipUtil.applyFileAttributes(FileHeader fileHeader,
java.io.File file) |
static void |
UnzipUtil.applyFileAttributes(FileHeader fileHeader,
java.io.File file,
UnzipParameters unzipParameters) |
void |
Unzip.extractFile(FileHeader fileHeader,
java.lang.String outPath,
UnzipParameters unzipParameters,
java.lang.String newFileName,
ProgressMonitor progressMonitor,
boolean runInThread) |
ZipInputStream |
Unzip.getInputStream(FileHeader fileHeader) |
构造器和说明 |
---|
UnzipEngine(ZipModel zipModel,
FileHeader fileHeader) |
限定符和类型 | 方法和说明 |
---|---|
static FileHeader |
Zip4jUtil.getFileHeader(ZipModel zipModel,
java.lang.String fileName) |
static FileHeader |
Zip4jUtil.getFileHeaderWithExactMatch(ZipModel zipModel,
java.lang.String fileName) |
限定符和类型 | 方法和说明 |
---|---|
static int |
Zip4jUtil.getIndexOfFileHeader(ZipModel zipModel,
FileHeader fileHeader) |
void |
ArchiveMaintainerForPlugin.initProgressMonitorForRemoveOp(ZipModel zipModel,
FileHeader fileHeader,
ProgressMonitor progressMonitor) |
void |
ArchiveMaintainer.initProgressMonitorForRemoveOp(ZipModel zipModel,
FileHeader fileHeader,
ProgressMonitor progressMonitor) |
java.util.HashMap |
ArchiveMaintainerForPlugin.initRemoveZipFile(ZipModel zipModel,
FileHeader fileHeader,
ProgressMonitor progressMonitor) |
java.util.HashMap |
ArchiveMaintainer.initRemoveZipFile(ZipModel zipModel,
FileHeader fileHeader,
ProgressMonitor progressMonitor) |
java.util.HashMap |
ArchiveMaintainerForPlugin.removeZipFile(ZipModel zipModel,
FileHeader fileHeader,
ProgressMonitor progressMonitor,
boolean runInThread) |
java.util.HashMap |
ArchiveMaintainer.removeZipFile(ZipModel zipModel,
FileHeader fileHeader,
ProgressMonitor progressMonitor,
boolean runInThread) |