|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.taskdefs.optional.jsp.JspNameMangler
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 | |
static java.lang.String[] |
keywords
this is the list of keywords which can not be used as classnames |
Constructor Summary | |
JspNameMangler()
|
Method Summary | |
java.lang.String |
mapJspToJavaName(java.io.File jspFile)
map from a jsp file to a java filename; does not do packages |
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 doesnt either |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String[] keywords
Constructor Detail |
public JspNameMangler()
Method Detail |
public java.lang.String mapJspToJavaName(java.io.File jspFile)
mapJspToJavaName
in interface JspMangler
jspFile
- file
public java.lang.String mapPath(java.lang.String path)
mapPath
in interface JspMangler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |