Forge - Parent 1.4.2-SNAPSHOT

org.jboss.forge.scaffoldx.freemarker
Class TemplateLoaderConfig

java.lang.Object
  extended by org.jboss.forge.scaffoldx.freemarker.TemplateLoaderConfig

public class TemplateLoaderConfig
extends Object

A configuration wrapper for the Freemarker File and Classpath Template loaders.

Author:
Vineet Reynolds

Constructor Summary
TemplateLoaderConfig()
          For CDI.
TemplateLoaderConfig(File templateBaseDir, Class<?> loaderClass, String basePath)
           
 
Method Summary
 String getBasePath()
           
 Class<?> getLoaderClass()
           
 File getTemplateBaseDir()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateLoaderConfig

public TemplateLoaderConfig()
For CDI. Do not invoke this directly


TemplateLoaderConfig

public TemplateLoaderConfig(File templateBaseDir,
                            Class<?> loaderClass,
                            String basePath)
Method Detail

getLoaderClass

public Class<?> getLoaderClass()

getBasePath

public String getBasePath()

getTemplateBaseDir

public File getTemplateBaseDir()

Forge - Parent 1.4.2-SNAPSHOT

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.