jvanzyl 00/09/30 15:21:05
Modified: src/java/org/apache/velocity/runtime/loader
TemplateLoader.java
Log:
- cleaning out old processor code.
Revision Changes Path
1.2 +2 -27
jakarta-velocity/src/java/org/apache/velocity/runtime/loader/TemplateLoader.java
Index: TemplateLoader.java
===================================================================
RCS file:
/home/cvs/jakarta-velocity/src/java/org/apache/velocity/runtime/loader/TemplateLoader.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- TemplateLoader.java 2000/09/30 17:04:29 1.1
+++ TemplateLoader.java 2000/09/30 22:21:05 1.2
@@ -55,42 +55,17 @@
*/
import org.apache.velocity.Template;
-
import org.apache.velocity.runtime.Runtime;
-//import org.apache.velocity.processor.Processor;
-
/**
* Each loader should implement this class
* @author Dave Bryson
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*/
public abstract class TemplateLoader
{
- /*
- protected Processor processor;
-
- protected static String TEMPLATE_PROCESSOR =
- Runtime.getString(Runtime.TEMPLATE_PROCESSOR);
- */
-
+ /** Initialize the template loader */
public abstract void init();
-
- /*
- public void init()
- {
- try
- {
- processor = (Processor) Class.forName(TEMPLATE_PROCESSOR).newInstance();
- processor.init();
- Runtime.info("Template processor initialized.");
- }
- catch (Exception e)
- {
- Runtime.error("Problem initializing the template processor: " + e);
- }
- }
- */
/**
* Fetch the template