Programming Practice/Java

Properties 를 Text로 관리

효돌프 2015. 2. 2. 03:41

1. config.properties 작성

- key=value

- value 가 String 이라도, 앞뒤로 ""를 붙이지 않는다.

notepad=notepad.exe 

file=F:/development/bat/jarTestText.txt


2. ConfigUtil.java 작성