config-helper

Simplify property file load

Лицензия

Лицензия

Категории

Категории

config Библиотеки уровня приложения Configuration
Группа

Группа

io.github.snowthinker
Идентификатор

Идентификатор

config-helper
Последняя версия

Последняя версия

0.0.4-RELEASE
Дата

Дата

Тип

Тип

jar
Описание

Описание

config-helper
Simplify property file load
Ссылка на сайт

Ссылка на сайт

https://github.com/snowThinker/config-helper
Система контроля версий

Система контроля версий

https://github.com/snowThinker/config-helper

Скачать config-helper

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/io.github.snowthinker/config-helper/ -->
<dependency>
    <groupId>io.github.snowthinker</groupId>
    <artifactId>config-helper</artifactId>
    <version>0.0.4-RELEASE</version>
</dependency>
// https://jarcasting.com/artifacts/io.github.snowthinker/config-helper/
implementation 'io.github.snowthinker:config-helper:0.0.4-RELEASE'
// https://jarcasting.com/artifacts/io.github.snowthinker/config-helper/
implementation ("io.github.snowthinker:config-helper:0.0.4-RELEASE")
'io.github.snowthinker:config-helper:jar:0.0.4-RELEASE'
<dependency org="io.github.snowthinker" name="config-helper" rev="0.0.4-RELEASE">
  <artifact name="config-helper" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.github.snowthinker', module='config-helper', version='0.0.4-RELEASE')
)
libraryDependencies += "io.github.snowthinker" % "config-helper" % "0.0.4-RELEASE"
[io.github.snowthinker/config-helper "0.0.4-RELEASE"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.apache.commons : commons-configuration2 jar 2.4
org.slf4j : slf4j-api jar 1.7.25

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.12

Модули Проекта

Данный проект не имеет модулей.

###config-helper

支持读取jar包内的配置文件

用法

PropertiesConfiguration propsConfig = PropertyHelper.getInstance("test1.properties", "test2.properties");
String test1String = propsConfig.getString("test1.string");
Integer test1Integer = propsConfig.getInteger("test1.integer", null);

Версии библиотеки

Версия
0.0.4-RELEASE
0.0.3-RELEASE
0.0.2-RELEASE
0.0.1-RELEASE