protected void createContainer(IPath pathname){
  if (directoryEntryCache.containsKey(pathname)) {
    return;
  }
  ZipEntry parent;
  if (pathname.segmentCount() == 1) {
    parent=root;
  }
 else {
    parent=(ZipEntry)directoryEntryCache.get(pathname.removeLastSegments(1));
  }
  ZipEntry newEntry=new ZipEntry(pathname.toString());
  directoryEntryCache.put(pathname,newEntry);
  addToChildren(parent,newEntry);
}

protected void createContainer ( IPath pathname ) { if ( directoryEntryCache . containsKey ( pathname ) ) { return ; } ZipEntry parent ; if ( pathname . segmentCount ( ) == 1 ) { parent = root ; } else { parent = ( ZipEntry ) directoryEntryCache . get ( pathname . removeLastSegments ( 1 ) ) ; } ZipEntry newEntry = new ZipEntry ( pathname . toString ( ) ) ; directoryEntryCache . put ( pathname , newEntry ) ; addToChildren ( parent , newEntry ) ; }
creates a new container zip entry with the specified name , iff it has not already been created .
