Class JspNameMangler
- java.lang.Object
- 
- org.apache.tools.ant.taskdefs.optional.jsp.JspNameMangler
 
- 
- All Implemented Interfaces:
- JspMangler
 
 public class JspNameMangler extends java.lang.Object implements 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 SummaryFields Modifier and Type Field Description static java.lang.String[]keywordsthis is the list of keywords which can not be used as classnames
 - 
Constructor SummaryConstructors Constructor Description JspNameMangler()
 - 
Method SummaryModifier and Type Method Description java.lang.StringmapJspToJavaName(java.io.File jspFile)map from a jsp file to a java filename; does not do packagesjava.lang.StringmapPath(java.lang.String path)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
 
- 
- 
- 
Method Detail- 
mapJspToJavaNamepublic java.lang.String mapJspToJavaName(java.io.File jspFile) map from a jsp file to a java filename; does not do packages- Specified by:
- mapJspToJavaNamein interface- JspMangler
- Parameters:
- jspFile- file
- Returns:
- java filename
 
 - 
mapPathpublic 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 not supported, as jasper in tomcat4.0 doesn't either- Specified by:
- mapPathin interface- JspMangler
- Parameters:
- path- not used
- Returns:
- null always.
 
 
- 
 
-