a

application-properties

This ApplicationProperties Java package provides a fast and easily configurable application.properties loader that mimics some key features of the Spring Boot application.properties loader. This package allows for multi-level overloading of properties based on a basename and optional suffix by searching the classpath, optional configurable file paths along with the JNDI server container context. The class [ApplicationPropertiesConfig](src/main/java/com/lyders/application-properties/ApplicationPropertiesConfig.java) controls the features of the overloading of properties such as the base name of the properties file, an optional suffix that allows for the loading of environment-specific or scenario-specific property files as needed. The following features are supported: * Names of properties files can be customized * Locations of properties files can be customized. The following path types are supported: * class path * file system paths * JNDI environment naming context (e.g., Servlet/JSP running under Tomcat) * Environment-specific property files can override the values in default properties files via a "suffix"
https://github.com/rlyders/application-properties
The MIT License
Richard Lyders
文件下载
文件名 操作
application-properties-1.2.1.jar 下载
application-properties-1.2.1.pom 下载
application-properties-1.2.1-sources.jar 下载
Apache Maven
<dependency>
  <groupId>com.lyders</groupId>
  <artifactId>application-properties</artifactId>
  <version>1.2.1</version>
</dependency>
Gradle Groovy
implementation 'com.lyders:application-properties:1.2.1'
Gradle Kotlin
implementation("com.lyders:application-properties:1.2.1")
Scala SBT
libraryDependencies += "com.lyders" % "application-properties" % "1.2.1"
Groovy Grape
@Grapes(
  @Grab(group='com.lyders', module='application-properties', version='1.2.1')
)
Apache Ivy
<dependency org="com.lyders" name="application-properties" rev="1.2.1" />
Leiningen
[com.lyders/application-properties "1.2.1"]
Apache Buildr
'com.lyders:application-properties:jar:1.2.1'