Package org.jbake.app

Class Parser


  • public class Parser
    extends java.lang.Object
    Parses 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
      DocumentModel processFile​(java.io.File file)
      Process the file by parsing the contents.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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