net.lingala.zip4j.core.ZipFile.createNewZipModel()方法的使用及代码示例

x33g5p2x  于2022-02-05 转载在 其他  
字(1.4k)|赞(0)|评价(0)|浏览(145)

本文整理了Java中net.lingala.zip4j.core.ZipFile.createNewZipModel()方法的一些代码示例,展示了ZipFile.createNewZipModel()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZipFile.createNewZipModel()方法的具体详情如下:
包路径:net.lingala.zip4j.core.ZipFile
类名称:ZipFile
方法名:createNewZipModel

ZipFile.createNewZipModel介绍

[英]Creates a new instance of zip model
[中]创建zip模型的新实例

代码示例

代码示例来源:origin: net.lingala.zip4j/zip4j

/**
 * Loads the zip model if zip model is null and if zip file exists.
 * @throws ZipException
 */
private void checkZipModel() throws ZipException {
  if (this.zipModel == null) {
    if (Zip4jUtil.checkFileExists(file)) {
      readZipInfo();
    } else {
      createNewZipModel();
    }
  }
}

代码示例来源:origin: com.github.axet/zip4j

/**
 * Loads the zip model if zip model is null and if zip file exists.
 * @throws ZipException
 */
private void checkZipModel() throws ZipException {
  if (this.zipModel == null) {
    if (Zip4jUtil.checkFileExists(file)) {
      readZipInfo();
    } else {
      createNewZipModel();
    }
  }
}

代码示例来源:origin: net.lingala.zip4j/zip4j

createNewZipModel();
this.zipModel.setSplitArchive(splitArchive);
if (splitArchive)

代码示例来源:origin: com.github.axet/zip4j

createNewZipModel();
this.zipModel.setSplitArchive(splitArchive);
if (splitArchive)

代码示例来源:origin: net.lingala.zip4j/zip4j

createNewZipModel();
this.zipModel.setSplitArchive(splitArchive);
this.zipModel.setSplitLength(splitLength);

代码示例来源:origin: com.github.axet/zip4j

createNewZipModel();
this.zipModel.setSplitArchive(splitArchive);
this.zipModel.setSplitLength(splitLength);

相关文章