org.geotools.factory.GeoTools.getGeoToolsJarInfo()方法的使用及代码示例

x33g5p2x  于2022-01-20 转载在 其他  
字(1.6k)|赞(0)|评价(0)|浏览(192)

本文整理了Java中org.geotools.factory.GeoTools.getGeoToolsJarInfo()方法的一些代码示例,展示了GeoTools.getGeoToolsJarInfo()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。GeoTools.getGeoToolsJarInfo()方法的具体详情如下:
包路径:org.geotools.factory.GeoTools
类名称:GeoTools
方法名:getGeoToolsJarInfo

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());
}

相关文章