org.apache.jasper.compiler
クラス CommandLineCompiler

java.lang.Object
  |
  +--org.apache.jasper.compiler.Compiler
        |
        +--org.apache.jasper.compiler.CommandLineCompiler
すべての実装インタフェース:
Mangler

public class CommandLineCompiler
extends Compiler
implements Mangler

Overrides some methods so that we get the desired effects.

作成者:
Danno Ferrin

フィールドの概要
static java.lang.String[] keywords
           
 
クラス org.apache.jasper.compiler.Compiler から継承したフィールド
ctxt, javac, mangler
 
コンストラクタの概要
CommandLineCompiler(CommandLineContext ctxt)
           
 
メソッドの概要
 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
 
クラス org.apache.jasper.compiler.Compiler から継承したメソッド
changeEncodingIfNecessary, compile, removeGeneratedFiles, setJavaCompiler, setMangler
 
クラス 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
オーバーライド:
クラス Compiler 内の isOutDated
戻り値:
true

computeJavaFileName

public final void computeJavaFileName()

manglePackage

public static java.lang.String manglePackage(java.lang.String name)
Make sure that the package name is a legal Java name
パラメータ:
name - The input string, containing arbitary chars separated by '.'s, with possible leading, trailing, or double '.'s
戻り値:
legal Java package name.

getClassName

public final java.lang.String getClassName()
インタフェース Mangler の記述:
The class name ( without package ) of the generated servlet, including the version number
定義:
インタフェース Mangler 内の getClassName

getPackageName

public final java.lang.String getPackageName()

getJavaFileName

public final java.lang.String getJavaFileName()
インタフェース Mangler の記述:
The full name of the .java file, including version number ( based on className and outputDir )
定義:
インタフェース Mangler 内の getJavaFileName

getClassFileName

public final java.lang.String getClassFileName()
インタフェース Mangler の記述:
The full name of the .class file ( without version number)
定義:
インタフェース Mangler 内の getClassFileName


Copyright ? 2000 Apache Software Foundation. All Rights Reserved.