문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
wiki:java:commons-io [2020/04/08 14:39] jskim |
wiki:java:commons-io [2023/01/13 18:44] (현재) |
||
---|---|---|---|
줄 3: | 줄 3: | ||
===== FileUtils ===== | ===== FileUtils ===== | ||
- | <do 2020-04-05 jskim, eleven> | + | <do 2020-05-31 jskim, eleven> |
==== FileUtils ==== | ==== FileUtils ==== | ||
> | > | ||
파일객체를 받아 String 으로 변환 | 파일객체를 받아 String 으로 변환 | ||
- | < | + | < |
File template = new File(templatePath); | File template = new File(templatePath); | ||
tplString = FileUtils.readFileToString(template, | tplString = FileUtils.readFileToString(template, |