반응형
1. Read
BufferedReader instrm = new BufferedReader(
new InputStreamReader(
new FileInputStream(
new File(getFilename())), "ms949"));
while((tmpstr = instrm.readLine()) != null ) {
}
2. Write
OutputStreamWriter osw = new OutputStreamWriter(
new FileOutputStream(
new File(filepath), true), "ms949");
br = new BufferedWriter(osw);
br.write(value);
728x90
반응형
'웹 개발' 카테고리의 다른 글
javascript arguments.callee (0) | 2019.08.24 |
---|---|
[select2] hide search bar (0) | 2019.08.24 |
[sencha] html tag안에 객체 추가하기 (0) | 2019.08.23 |
[sencha] grid column replace (0) | 2019.08.23 |
[javascript] 원시타입 - Infinity (0) | 2019.08.23 |