Package br.com.caelum.tubaina

Examples of br.com.caelum.tubaina.TubainaBuilderData


    List<RegexTag> tags = configurator.read("/regex.properties", "/html.properties");
    parser = new LatexParser(tags);

    File path = new File("src/test/resources");
    ResourceLocator.initialize(path);
    data = new TubainaBuilderData(false, TubainaBuilder.DEFAULT_TEMPLATE_DIR, false, false, "teste");

    generator = new LatexGenerator(parser, data);

    BookBuilder builder = builder("livro");
    builder.addReaderFromString("[chapter     O que é java?   ]\n" + "texto da seção\n"
View Full Code Here


        List<RegexTag> tags = configurator.read("/regex.properties", "/html.properties");
        HtmlParser parser = new HtmlParser(tags);

        File path = new File("src/test/resources");
        ResourceLocator.initialize(path);
        data = new TubainaBuilderData(false, TubainaBuilder.DEFAULT_TEMPLATE_DIR, false, false,
                "teste.tex");

        generator = new FlatHtmlGenerator(parser, data);

        String content = "[chapter     O que é java?   ]\n" + "texto da seção\n"
View Full Code Here

    HtmlParser parser = new HtmlParser(tags);

    File path = new File("src/test/resources");
    ResourceLocator.initialize(path);

    TubainaBuilderData data = new TubainaBuilderData(false, TubainaBuilder.DEFAULT_TEMPLATE_DIR, false, false,
        "book");

    generator = new SingleHtmlGenerator(parser, data);

    directory = new File("tmp");
View Full Code Here

        HtmlParser parser = new HtmlParser(tags);

        File path = new File("src/test/resources");
        ResourceLocator.initialize(path);

        TubainaBuilderData data = new TubainaBuilderData(false,
                TubainaBuilder.DEFAULT_TEMPLATE_DIR, false, false, null);

        generator = new KindleGenerator(parser, data);

        tempDir = new File("tmp");
View Full Code Here

TOP

Related Classes of br.com.caelum.tubaina.TubainaBuilderData

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.