Class SiteBuilder

java.lang.Object
net.jonathangiles.tools.sitebuilder.SiteBuilder

public abstract class SiteBuilder extends Object
Reads in all index.xml files and creates a static index.html file from it and the header and footer files.
  • Field Details

  • Constructor Details

    • SiteBuilder

      protected SiteBuilder()
  • Method Details

    • setPostPathFunction

      public void setPostPathFunction(Function<net.jonathangiles.tools.sitebuilder.util.SitePaths.PostPathRequest,net.jonathangiles.tools.sitebuilder.util.SitePaths.PostPath> postPathFunction)
    • run

      public void run()
    • registerPages

      protected void registerPages()
    • registerPage

      protected void registerPage(Page page)
    • getAllPosts

      protected Set<Post> getAllPosts()
    • getAllPostsMap

      protected Map<String,Post> getAllPostsMap()
    • getPostProperties

      protected Map<String,String> getPostProperties(Post post)
    • getPageProperties

      protected Map<String,String> getPageProperties(Page page, Path pagePath)