Package br.com.caelum.tubaina.util

Examples of br.com.caelum.tubaina.util.TitleSlug


    this.sections = sections;
    this.resources = resources;
    this.introduction = introduction;
        this.chapterNumber = chapterNumber;
        this.introductionChapter = introductionChapter;
        this.titleSlug = new TitleSlug(title).toString();
  }
View Full Code Here


    private String titleSlug;

  public Section(String title, List<Chunk> chunks) {
    this.title = title;
    this.titleSlug = new TitleSlug(title).toString();
    this.chunks = chunks;
    this.sectionNumber = COUNT;
    COUNT++;
  }
View Full Code Here

        Integer offset = 0;

        while (chapterMatcher.find(offset)) {
            String title = chapterMatcher.group(1).trim();
            String label = chapterMatcher.group(2) == null ? new TitleSlug(title).toString() : chapterMatcher.group(2);
            String content = chapterMatcher.group(3);
            offset = chapterMatcher.end(3);

            String introduction = extractIntroduction(content);
View Full Code Here

TOP

Related Classes of br.com.caelum.tubaina.util.TitleSlug

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.