Package org.jbake.app
Class Parser
- java.lang.Object
-
- org.jbake.app.Parser
-
public class Parser extends java.lang.ObjectParses a File for content.
-
-
Constructor Summary
Constructors Constructor Description Parser(JBakeConfiguration config)Creates a new instance of Parser.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentModelprocessFile(java.io.File file)Process the file by parsing the contents.
-
-
-
Constructor Detail
-
Parser
public Parser(JBakeConfiguration config)
Creates a new instance of Parser.- Parameters:
config- Project configuration
-
-
Method Detail
-
processFile
public DocumentModel processFile(java.io.File file)
Process the file by parsing the contents.- Parameters:
file- File input for parsing- Returns:
- The contents of the file
-
-