|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.jasper.compiler.Compiler | +--org.apache.jasper.compiler.CommandLineCompiler
Overrides some methods so that we get the desired effects.
Field Summary | |
static java.lang.String[] |
keywords
|
Fields inherited from class org.apache.jasper.compiler.Compiler |
ctxt, javac, mangler |
Constructor Summary | |
CommandLineCompiler(CommandLineContext ctxt)
|
Method Summary | |
void |
computeJavaFileName()
|
java.lang.String |
getClassFileName()
The full name of the .class file ( without version number) |
java.lang.String |
getClassName()
The class name ( without package ) of the generated servlet, including the version number |
java.lang.String |
getJavaFileName()
The full name of the .java file, including version number ( based on className and outputDir ) |
java.lang.String |
getPackageName()
|
boolean |
isOutDated()
Always outDated. |
static java.lang.String |
manglePackage(java.lang.String name)
Make sure that the package name is a legal Java name |
Methods inherited from class org.apache.jasper.compiler.Compiler |
changeEncodingIfNecessary, compile, removeGeneratedFiles, setJavaCompiler, setMangler |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.lang.String[] keywords
Constructor Detail |
public CommandLineCompiler(CommandLineContext ctxt)
Method Detail |
public boolean isOutDated()
isOutDated
in class Compiler
public final void computeJavaFileName()
public static java.lang.String manglePackage(java.lang.String name)
name
- The input string, containing arbitary chars separated by
'.'s, with possible leading, trailing, or double '.'s
public final java.lang.String getClassName()
Mangler
getClassName
in interface Mangler
public final java.lang.String getPackageName()
public final java.lang.String getJavaFileName()
Mangler
getJavaFileName
in interface Mangler
public final java.lang.String getClassFileName()
Mangler
getClassFileName
in interface Mangler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |