org.tp23.jasper.compiler
Class CommandLineCompiler
java.lang.Object
|
+--org.tp23.jasper.compiler.Compiler
|
+--org.tp23.jasper.compiler.CommandLineCompiler
- All Implemented Interfaces:
- Mangler
- public class CommandLineCompiler
- extends Compiler
- implements Mangler
Overrides some methods so that we get the desired effects.
- Author:
- Danno Ferrin, Paul Hinds
Field Summary |
static java.lang.String[] |
keywords
|
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()
The package name. |
boolean |
isOutDated()
Always outDated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
keywords
public static java.lang.String[] keywords
CommandLineCompiler
public CommandLineCompiler(CommandLineContext ctxt)
isOutDated
public boolean isOutDated()
- Always outDated. (Of course we are, this is an explicit invocation
- Overrides:
isOutDated
in class Compiler
computeJavaFileName
public final void computeJavaFileName()
getPackageName
public final java.lang.String getPackageName()
- Description copied from interface:
Mangler
- The package name. It is based on the .jsp path, with
all unsafe components escaped.
- Specified by:
getPackageName
in interface Mangler
getClassName
public final java.lang.String getClassName()
- Description copied from interface:
Mangler
- The class name ( without package ) of the
generated servlet, including the version number
- Specified by:
getClassName
in interface Mangler
getJavaFileName
public final java.lang.String getJavaFileName()
- Description copied from interface:
Mangler
- The full name of the .java file, including
version number ( based on className and outputDir )
- Specified by:
getJavaFileName
in interface Mangler
getClassFileName
public final java.lang.String getClassFileName()
- Description copied from interface:
Mangler
- The full name of the .class file ( without version number)
- Specified by:
getClassFileName
in interface Mangler