org.apache.tools.ant.taskdefs.optional.jsp

Class Jasper41Mangler

Implemented Interfaces:
JspMangler

public class Jasper41Mangler
extends java.lang.Object
implements JspMangler

this class implements the name mangling rules of the jasper in tomcat4.1.x which is likely to remain for some time
See Also:
org.apache.jasper.JspCompilationContext

Method Summary

String
mapJspToJavaName(File jspFile)
map from a jsp file to a java filename; does not do packages
String
mapPath(String path)
taking in the substring representing the path relative to the source dir return a new string representing the destination path

Method Details

mapJspToJavaName

public String mapJspToJavaName(File jspFile)
map from a jsp file to a java filename; does not do packages
Specified by:
mapJspToJavaName in interface JspMangler
Parameters:
jspFile - file
Returns:
java filename

mapPath

public String mapPath(String path)
taking in the substring representing the path relative to the source dir return a new string representing the destination path
Specified by:
mapPath in interface JspMangler
To do:

Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.