com.github.vskrahul:properties-parser

Properties Parser

License

License

GroupId

GroupId

com.github.vskrahul
ArtifactId

ArtifactId

properties-parser
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

com.github.vskrahul:properties-parser
Properties Parser
Project URL

Project URL

https://github.com/vskrahul/properties-parser
Source Code Management

Source Code Management

https://github.com/vskrahul/properties-parser

Download properties-parser

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.vskrahul/properties-parser/ -->
<dependency>
    <groupId>com.github.vskrahul</groupId>
    <artifactId>properties-parser</artifactId>
    <version>1.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.vskrahul/properties-parser/
implementation 'com.github.vskrahul:properties-parser:1.0.2'
// https://jarcasting.com/artifacts/com.github.vskrahul/properties-parser/
implementation ("com.github.vskrahul:properties-parser:1.0.2")
'com.github.vskrahul:properties-parser:jar:1.0.2'
<dependency org="com.github.vskrahul" name="properties-parser" rev="1.0.2">
  <artifact name="properties-parser" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.vskrahul', module='properties-parser', version='1.0.2')
)
libraryDependencies += "com.github.vskrahul" % "properties-parser" % "1.0.2"
[com.github.vskrahul/properties-parser "1.0.2"]

Dependencies

compile (2)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.7.25
org.slf4j : slf4j-simple jar 1.6.4

test (1)

Group / Artifact Type Version
org.testng : testng jar 6.14.3

Project Modules

There are no modules declared in this project.

Maven Central

Key Value Property parser

Parsing property file which has reference to other property.

This is a simple program which is covering basic following use cases:-

E.g.;

Before parsing

  1. a=1
  2. b=${a}+2
  3. c=${d}
  4. env=dev
  5. conection.dev=100
  6. max.connection=${connection.${env}}*1/2

After parsing it will be like...

  1. a=1
  2. b=1+2
  3. c=d
  4. env=dev
  5. conection.dev=100
  6. max.connection=100*1/2

Note: It has been assumed that there are no circular referencing properties.

Versions

Version
1.0.2
1.0.1
1.0.0