Programing/Java

Lightbend Config

BUST 2019. 1. 4. 21:42

Lightbend Config

Gradle

compile "com.typesafe:config:1.3.2"


Example

applicaion.conf

http {
url = "http://helloino.tistory.com"
}


Config conf = ConfigFactory.load("application.conf");

String url = conf.getString("http.url");


'Programing > Java' 카테고리의 다른 글

JCommander  (0) 2019.01.04
Gradle, Maven  (0) 2018.12.10
Java CocurrentHashMap  (0) 2018.11.27
URI  (0) 2018.11.22
Queue 자료 구조  (0) 2018.11.12