Package br.com.caelum.tubaina.bibliography

Examples of br.com.caelum.tubaina.bibliography.HtmlBibliographyGenerator


    @Before
    public void setUp() throws IOException {
        cfg = new Configuration();
        cfg.setDirectoryForTemplateLoading(new File(TubainaBuilder.DEFAULT_TEMPLATE_DIR, "kindle"));
        cfg.setObjectWrapper(new BeansWrapper());
        htmlBibGenerator = new HtmlBibliographyGenerator(cfg);
    }
View Full Code Here


    }

    private String generateHtmlBibliography(File outputDir) {
        File bibliographyFile = new File(outputDir, "bib.xml");
        Bibliography bibliography = new BibliographyFactory().build(bibliographyFile);
        String htmlBibliography = new HtmlBibliographyGenerator(freeMarkerConfig)
                .generateTextOf(bibliography);
        return htmlBibliography;
    }
View Full Code Here

TOP

Related Classes of br.com.caelum.tubaina.bibliography.HtmlBibliographyGenerator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.