本文整理了Java中org.geotools.factory.GeoTools.getGeoToolsJarInfo()
方法的一些代码示例,展示了GeoTools.getGeoToolsJarInfo()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。GeoTools.getGeoToolsJarInfo()
方法的具体详情如下:
包路径:org.geotools.factory.GeoTools
类名称:GeoTools
方法名:getGeoToolsJarInfo
[英]Returns the names of the GeoTools jars on the classpath.
[中]返回类路径上GeoTools JAR的名称。
代码示例来源:origin: org.geotools/gt-swing
/**
* Displays GeoTools jars on the classpath. This is only called on the event
* dispatch thread.
*/
private void showJarInfo() {
textArea.setText(GeoTools.getGeoToolsJarInfo());
}
代码示例来源:origin: org.geotools/gt-metadata
/**
* Returns summary information about GeoTools and the current environment.
* Calls {@linkplain #getEnvironmentInfo()} followed by {@linkplain #getGeoToolsJarInfo()}
* and concatenates their results.
*
* @return requested information as a string
*/
public static String getAboutInfo() {
final StringBuilder sb = new StringBuilder();
sb.append(getEnvironmentInfo());
sb.append(String.format("%n"));
sb.append(getGeoToolsJarInfo());
return sb.toString();
}
代码示例来源:origin: org.geotools/gt-swing
/**
* Displays all information combined. This is only called on the event
* dispatch thread.
*/
private void showAllInfo() {
final String newline = String.format("%n");
final StringBuilder sb = new StringBuilder();
if (hasApplicationInfo) {
sb.append(applicationInfo).append(newline).append(newline);
}
sb.append(GeoTools.getEnvironmentInfo()).append(newline).append(newline);
sb.append(GeoTools.getGeoToolsJarInfo()).append(newline).append(newline);
sb.append("This is the licence info");
textArea.setText(sb.toString());
}
内容来源于网络,如有侵权,请联系作者删除!