public boolean removeChild(SMSFlatFileTreeNode node,String baseDir){
  boolean removed=false;
  for (Iterator i=children.iterator(); (i.hasNext()) && !removed; ) {
    SMSFlatFileTreeNode c=(SMSFlatFileTreeNode)i.next();
    if (c.equals(node)) {
      i.remove();
      node.clear(baseDir);
      removed=true;
    }
  }
  return removed;
}

public boolean removeChild ( SMSFlatFileTreeNode node , String baseDir ) { boolean removed = false ; for ( Iterator i = children . iterator ( ) ; ( i . hasNext ( ) ) && ! removed ; ) { SMSFlatFileTreeNode c = ( SMSFlatFileTreeNode ) i . next ( ) ; if ( c . equals ( node ) ) { i . remove ( ) ; node . clear ( baseDir ) ; removed = true ; } } return removed ; }
removes a child node from the tree .
