org.jbake.app
Class Oven

java.lang.Object
  extended by org.jbake.app.Oven

public class Oven
extends Object

All the baking happens in the Oven!

Author:
Jonathan Bullock

Constructor Summary
Oven(File source, File destination)
          Creates a new instance of the Oven with references to the source and destination folders.
 
Method Summary
 void bake()
          All the good stuff happens in here...
 void setupPaths()
          Checks source path contains required sub-folders (i.e.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Oven

public Oven(File source,
            File destination)
     throws Exception
Creates a new instance of the Oven with references to the source and destination folders.

Parameters:
source - The source folder
destination - The destination folder
Throws:
Exception
Method Detail

setupPaths

public void setupPaths()
                throws Exception
Checks source path contains required sub-folders (i.e. templates) and setups up variables for them.

Throws:
Exception - If template or contents folder don't exist

bake

public void bake()
          throws Exception
All the good stuff happens in here...

Throws:
Exception


Copyright © 2013. All Rights Reserved.