File Handling Service 를 적용해서 Excel 다운로드 하기 위한 Excel 정보를 설정한다.
Excel Service에 적용되어 있다.
FileObject writtenFile = manager.resolveFile(baseDir, this.propertyPath); FileContent writtenContents = writtenFile.getContent(); InputStream is = writtenContents.getInputStream(); BufferedReader reader = new BufferedReader(new InputStreamReader(is)); StringBuffer sb = new StringBuffer(); for (String line = ""; (line = reader.readLine()) != null; sb.append(line)); is.close();