Code example for ZipEntry

Methods: getCommentgetNamegetSizegetTime

0
      throw new NullPointerException();
    } 
 
    this.repository = repository;
    this.parent = parent;
    this.entryName = IOUtils.getInstance().getFileName(zipEntry.getName());
    this.comment = zipEntry.getComment();
    this.size = zipEntry.getSize();
    this.time = zipEntry.getTime();
    this.entries = new HashMap();
    this.name = RepositoryUtilities.buildName(this, "/") + '/';
  } 
 
  private void updateMetaData(final ZipEntry zipEntry)
  { 
    this.comment = zipEntry.getComment();
    this.size = zipEntry.getSize();
    this.time = zipEntry.getTime();
  } 
 
Experience pair programming with AI  Get Codota for Java