/** * Returns the names of the GeoTools jars on the classpath. * * @return list of jars as a formatted string */ public static String getGeoToolsJarInfo() { final StringBuilder sb = new StringBuilder(); final String newline = String.format("%n"); final String indent = " "; sb.append("GeoTools jars on classpath:"); for (String jarName : getGeoToolsJars()) { sb.append(newline).append(indent).append(jarName); } return sb.toString(); }