Home - YooYoungmo/AEP GitHub Wiki

구현 제약사항

참고 자료

Resource Loading

InputStream in = this.getClass().getClassLoader().getResourceAsStream("conf/app-config.json");

JSONObject from InputStream

BufferedReader bR = new BufferedReader(  new InputStreamReader(in));
String line = "";

StringBuilder responseStrBuilder = new StringBuilder();
while((line =  bR.readLine()) != null){

    responseStrBuilder.append(line);
}
in.close();
JSONObject jsonObject = JSONObject.fromObject(responseStrBuilder.toString());