Package br.com.caelum.tubaina.chunk

Examples of br.com.caelum.tubaina.chunk.IntroductionChunk


        }
        offset = matcher.end(2);
      }
    }

    IntroductionChunk intro = new IntroductionChunk(new ChunkSplitter(resources, "all").splitChunks(introduction));

    return new Chapter(title, intro, sections, resources);
  }
View Full Code Here


                }
                offset = matcher.end(2);
            }
        }

        IntroductionChunk intro = new IntroductionChunk(new ChunkSplitter(resources, "all", sectionsManager).splitChunks(introduction));
        return new Chapter(title, label, intro, sections, resources, chapterNumber, introductionChapter);
    }
View Full Code Here

            String bookPartTitle = extractPartBookTitle(text);
            List<Resource> partResources = new ArrayList<Resource>();

            String introductionText = extractIntroduction(text);
            String illustrationPath = extractIllustrationPath(text);
            IntroductionChunk introChunk = new IntroductionChunk(new ChunkSplitter(partResources,
                    "all", sectionsManager).splitChunks(introductionText));

            bookParts.add(new BookPart(bookPartTitle, true, introductionText, introChunk,
                    illustrationPath, partResources));
            LOG.info("Parsing part: " + bookPartTitle);
View Full Code Here

TOP

Related Classes of br.com.caelum.tubaina.chunk.IntroductionChunk

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.