Code example for ZipEntry

Methods: getComment, getSize, getTime

0
    this.name = RepositoryUtilities.buildName(this, "/") + '/';
  } 
 
  private void updateMetaData(final ZipEntry zipEntry)
  { 
    this.comment = zipEntry.getComment();
    this.size = zipEntry.getSize();
    this.time = zipEntry.getTime();
  } 
 
 
  public void updateDirectoryEntry(final String[] name, final int index, final ZipEntry zipEntry)
  { 
    if (name == null)
    { 
      throw new NullPointerException();
    } 
    if (zipEntry == null)
    { 
      throw new NullPointerException();
    }