com.caucho.quercus
Class QuercusCompiler

java.lang.Object
  extended by com.caucho.quercus.QuercusCompiler

public class QuercusCompiler
extends java.lang.Object


Field Summary
protected static L10N L
           
 
Constructor Summary
QuercusCompiler()
           
 
Method Summary
 java.util.ArrayList<com.caucho.quercus.QuercusCompiler.CompileItem> compile(java.util.ArrayList<com.caucho.quercus.QuercusCompiler.CompileItem> itemList)
          Compiles the items, returning the broken items.
 void generate(java.util.ArrayList<com.caucho.quercus.QuercusCompiler.CompileItem> pendingClasses, java.lang.String uri)
           
 java.lang.String getClassName(Path path)
          Returns the class name.
 Path getPwd()
          Gets the owning directory.
 java.lang.String getRelativePath(Path path)
          Returns the relative path.
 Path getWorkDir()
          Gets the destination class directory.
static void main(java.lang.String[] args)
           
 void setRequireSource(boolean isRequireSource)
           
 void setScriptEncoding(java.lang.String encoding)
           
 void setWorkDir(Path path)
          Sets the destination class directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

L

protected static final L10N L
Constructor Detail

QuercusCompiler

public QuercusCompiler()
Method Detail

setWorkDir

public void setWorkDir(Path path)
Sets the destination class directory.


getWorkDir

public Path getWorkDir()
Gets the destination class directory.


setScriptEncoding

public void setScriptEncoding(java.lang.String encoding)

setRequireSource

public void setRequireSource(boolean isRequireSource)

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

generate

public void generate(java.util.ArrayList<com.caucho.quercus.QuercusCompiler.CompileItem> pendingClasses,
                     java.lang.String uri)
              throws java.lang.Exception
Throws:
java.lang.Exception

getClassName

public java.lang.String getClassName(Path path)
Returns the class name.


getRelativePath

public java.lang.String getRelativePath(Path path)
Returns the relative path.


getPwd

public Path getPwd()
Gets the owning directory.


compile

public java.util.ArrayList<com.caucho.quercus.QuercusCompiler.CompileItem> compile(java.util.ArrayList<com.caucho.quercus.QuercusCompiler.CompileItem> itemList)
Compiles the items, returning the broken items.