728x90
import java.util.ResourceBundle
//config ==> properties 파일이름
//key ==> properties 파일안에 행에대한 타이틀내용
public static String getConfigValue(String config, String key) {
return ResourceBundle.getBundle(config).getString(key);
}
320x100
'IT > Java' 카테고리의 다른 글
텍스트 포멧 코딩~ (0) | 2021.05.17 |
---|---|
The error occurred while applying a parameter map (0) | 2021.05.17 |
파일 읽어들일때 라인넘버 추가하는법~ (0) | 2021.05.17 |
jstl fmt 관련~ (0) | 2021.05.17 |
구글계정이용 메일발송 (0) | 2021.05.17 |