Class SiteBuilder
java.lang.Object
net.jonathangiles.tools.sitebuilder.SiteBuilder
Reads in all index.xml files and creates a static index.html file from it and the header and footer files.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPageProperties(Page page, Path pagePath) getPostProperties(Post post) protected voidregisterPage(Page page) protected voidvoidrun()voidsetPostPathFunction(Function<net.jonathangiles.tools.sitebuilder.util.SitePaths.PostPathRequest, net.jonathangiles.tools.sitebuilder.util.SitePaths.PostPath> postPathFunction)
-
Field Details
-
OUTPUT_PATH
- See Also:
-
OUTPUT_DIR
-
-
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
-
getAllPosts
-
getAllPostsMap
-
getPostProperties
-
getPageProperties
-