public static final boolean validateGroupName(String sGroupName){
  if (sGroupName.length() == 0) {
    return false;
  }
  return sGroupName.matches("^.{8}$");
}

public static final boolean validateGroupName ( String sGroupName ) { if ( sGroupName . length ( ) == 0 ) { return false ; } return sGroupName . matches ( "^.{8}$" ) ; }
validates a duplex group name . < p > a valid duplex group name is an 8 character string . the calling method should append spaces or truncate to give correct length if necessary . < p >
