org.intermine.metadata.Util.loadProperties()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(0.9k)|赞(0)|评价(0)|浏览(216)

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

Util.loadProperties介绍

[英]Load a specified properties file
[中]加载指定的属性文件

代码示例

代码示例来源:origin: intermine/intermine

  1. /**
  2. * Load the key definitions file for the named model from the classpath
  3. * @param modelName the model name
  4. * @return the key definitions
  5. */
  6. public static Properties loadKeyDefinitions(String modelName) {
  7. return loadProperties(getFilename(KEY_DEFINITIONS, modelName));
  8. }

代码示例来源:origin: org.intermine/intermine-model

  1. /**
  2. * Load the key definitions file for the named model from the classpath
  3. * @param modelName the model name
  4. * @return the key definitions
  5. */
  6. public static Properties loadKeyDefinitions(String modelName) {
  7. return loadProperties(getFilename(KEY_DEFINITIONS, modelName));
  8. }

相关文章