Class Jasper41Mangler
java.lang.Object
org.apache.tools.ant.taskdefs.optional.jsp.Jasper41Mangler
- All 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"
-
Constructor Summary
Constructors Constructor Description Jasper41Mangler()
-
Method Summary
Modifier and Type Method Description java.lang.String
mapJspToJavaName(java.io.File jspFile)
map from a jsp file to a java filename; does not do packagesjava.lang.String
mapPath(java.lang.String path)
taking in the substring representing the path relative to the source dir return a new string representing the destination path
-
Constructor Details
-
Jasper41Mangler
public Jasper41Mangler()
-
-
Method Details
-
mapJspToJavaName
public java.lang.String mapJspToJavaName(java.io.File jspFile)map from a jsp file to a java filename; does not do packages- Specified by:
mapJspToJavaName
in interfaceJspMangler
- Parameters:
jspFile
- file- Returns:
- java filename
-
mapPath
public java.lang.String mapPath(java.lang.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 interfaceJspMangler
- Parameters:
path
- not used.- Returns:
- null as this is not implemented.
- To do:
-