문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
|
java:properties [2012/01/11 16:45] kwon37xi |
java:properties [2018/06/22 08:52] (현재) kwon37xi |
||
|---|---|---|---|
| 줄 1: | 줄 1: | ||
| - | ====== Java Properties ====== | + | ====== Java Properties |
| + | * [[http:// | ||
| + | |||
| + | ===== Spring Properties Inheritance ===== | ||
| + | * [[https:// | ||
| + | * '' | ||
| ===== XML Properties ===== | ===== XML Properties ===== | ||
| 줄 17: | 줄 22: | ||
| </ | </ | ||
| + | ===== Improving java.util.properties ===== | ||
| + | * [[http:// | ||
| + | * ${} 방식으로 다른 프라퍼티값 일부 지정 <code java> | ||
| + | Props props = new Props(System.getProperties()); | ||
| + | props.put(" | ||
| + | props.expandVariables(); | ||
| + | |||
| + | // The ${user.home} should be expanded to actual user home dir value. | ||
| + | File dir = new File(props.get(" | ||
| + | </ | ||