public String groupName(){
  int i=name.indexOf(".");
  if (i > 0) {
    int j=name.indexOf(".",i + 1);
    if (j > 0) {
      return name.substring(0,j);
    }
 else {
      return name.substring(0,i);
    }
  }
  return "access";
}

public String groupName ( ) { int i = name . indexOf ( "." ) ; if ( i > 0 ) { int j = name . indexOf ( "." , i + 1 ) ; if ( j > 0 ) { return name . substring ( 0 , j ) ; } else { return name . substring ( 0 , i ) ; } } return "access" ; }
get the group name of the access name
