Class JspNameMangler
java.lang.Object
org.apache.tools.ant.taskdefs.optional.jsp.JspNameMangler
- All Implemented Interfaces:
JspMangler
This is a class derived from the Jasper code
(org.apache.jasper.compiler.CommandLineCompiler) to map from a JSP filename
to a valid Java classname.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmapJspToJavaName
(File jspFile) map from a jsp file to a java filename; does not do packagestaking in the substring representing the path relative to the source dir return a new string representing the destination path not supported, as jasper in tomcat4.0 doesn't either
-
Field Details
-
keywords
this is the list of keywords which can not be used as classnames
-
-
Constructor Details
-
JspNameMangler
public JspNameMangler()
-
-
Method Details
-
mapJspToJavaName
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
taking in the substring representing the path relative to the source dir return a new string representing the destination path not supported, as jasper in tomcat4.0 doesn't either- Specified by:
mapPath
in interfaceJspMangler
- Parameters:
path
- not used- Returns:
- null always.
-