Use a string for the path.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1741 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -3,8 +3,6 @@
|
||||
|
||||
package com.samskivert.velocity;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
import org.apache.velocity.VelocityContext;
|
||||
import org.apache.velocity.app.VelocityEngine;
|
||||
import org.apache.velocity.runtime.RuntimeServices;
|
||||
@@ -51,7 +49,7 @@ public class VelocityUtil
|
||||
* something less generic, but that's what {@link VelocityEngine#init}
|
||||
* throws.
|
||||
*/
|
||||
public static VelocityEngine createEngine (File templatePath)
|
||||
public static VelocityEngine createEngine (String templatePath)
|
||||
throws Exception
|
||||
{
|
||||
VelocityEngine ve = new VelocityEngine();
|
||||
|
||||
Reference in New Issue
Block a user