private static String[] processObjectClasses(final String objectClass){
  String[] objectClasses=null;
  if (objectClass != null) {
    objectClasses=objectClass.split(",");
  }
  if (objectClasses != null) {
    String objClass=null;
    for (int i=0; i < objectClasses.length; i++) {
      objClass=objectClasses[i];
      if (objClass != null) {
        objectClasses[i]=objClass.trim();
      }
    }
  }
  return objectClasses;
}

private static String [ ] processObjectClasses ( final String objectClass ) { String [ ] objectClasses = null ; if ( objectClass != null ) { objectClasses = objectClass . split ( "," ) ; } if ( objectClasses != null ) { String objClass = null ; for ( int i = 0 ; i < objectClasses . length ; i ++ ) { objClass = objectClasses [ i ] ; if ( objClass != null ) { objectClasses [ i ] = objClass . trim ( ) ; } } } return objectClasses ; }
procesa un string con clases separadas por , para devolver un array
