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

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

本文整理了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

  1. /**
  2. * Displays GeoTools jars on the classpath. This is only called on the event
  3. * dispatch thread.
  4. */
  5. private void showJarInfo() {
  6. textArea.setText(GeoTools.getGeoToolsJarInfo());
  7. }

代码示例来源:origin: org.geotools/gt-metadata

  1. /**
  2. * Returns summary information about GeoTools and the current environment.
  3. * Calls {@linkplain #getEnvironmentInfo()} followed by {@linkplain #getGeoToolsJarInfo()}
  4. * and concatenates their results.
  5. *
  6. * @return requested information as a string
  7. */
  8. public static String getAboutInfo() {
  9. final StringBuilder sb = new StringBuilder();
  10. sb.append(getEnvironmentInfo());
  11. sb.append(String.format("%n"));
  12. sb.append(getGeoToolsJarInfo());
  13. return sb.toString();
  14. }

代码示例来源:origin: org.geotools/gt-swing

  1. /**
  2. * Displays all information combined. This is only called on the event
  3. * dispatch thread.
  4. */
  5. private void showAllInfo() {
  6. final String newline = String.format("%n");
  7. final StringBuilder sb = new StringBuilder();
  8. if (hasApplicationInfo) {
  9. sb.append(applicationInfo).append(newline).append(newline);
  10. }
  11. sb.append(GeoTools.getEnvironmentInfo()).append(newline).append(newline);
  12. sb.append(GeoTools.getGeoToolsJarInfo()).append(newline).append(newline);
  13. sb.append("This is the licence info");
  14. textArea.setText(sb.toString());
  15. }

相关文章