public static String flattenToClasspathString(List<IRuntimeClasspathEntry> classpathEntries){
  StringBuilder sb=new StringBuilder();
  boolean needsSeparator=false;
  for (  IRuntimeClasspathEntry r : classpathEntries) {
    if (needsSeparator) {
      sb.append(File.pathSeparatorChar);
    }
    needsSeparator=true;
    sb.append(r.getLocation());
  }
  return sb.toString();
}

public static String flattenToClasspathString ( List < IRuntimeClasspathEntry > classpathEntries ) { StringBuilder sb = new StringBuilder ( ) ; boolean needsSeparator = false ; for ( IRuntimeClasspathEntry r : classpathEntries ) { if ( needsSeparator ) { sb . append ( File . pathSeparatorChar ) ; } needsSeparator = true ; sb . append ( r . getLocation ( ) ) ; } return sb . toString ( ) ; }
returns a string ( in the format of the jvm classpath argument ) which contains the given classpath entries .
