Configuration클래스

- Main entry point into the FreeMarker API
- this class encapsulates the various configuration parameters
- This object is not synchronized.

http://freemarker.sourceforge.net/docs/api/freemarker/template/Configuration.html



Configuration클래스 샘플 코드

Configuration cfg = new Configuration();
// Specify the data source where the template files come from.
// Here I set a file directory for it:
cfg.setDirectoryForTemplateLoading(
        new File("/where/you/store/templates"));
// Specify how templates will see the data model. This is an advanced topic...
// but just use this:
cfg.setObjectWrapper(new DefaultObjectWrapper());  

트랙백 보낼 주소 :: http://www.ologist.co.kr/trackback/429

댓글을 달아주세요:: 네티켓은 기본, 스팸은 사절

  1. 2008/05/23 04:15
    댓글 주소 수정/삭제 댓글
    좋은 너를 위치! 감사하십시요.
  2. 2008/05/23 04:44
    댓글 주소 수정/삭제 댓글
    좋은 영역! 걸출한 영역!
  3. 2008/05/23 07:01
    댓글 주소 수정/삭제 댓글
    우수한 디자인!!
  4. 2008/05/24 00:09
    댓글 주소 수정/삭제 댓글
    중대하고 유용한 위치!
  5. 2008/05/24 01:45
    댓글 주소 수정/삭제 댓글
    우수한 디자인!!


BLOG main image
OOP and Java by ologist

공지사항

카테고리

All (649)
private!! (106)
WEB & IT (140)
Developer (400)