com.caucho.quercus
Class QuercusEngine

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

public class QuercusEngine
extends java.lang.Object


Constructor Summary
QuercusEngine()
           
 
Method Summary
 Value execute(Path path)
          Executes the script.
 Value execute(java.lang.String script)
          Executes the script.
 Value executeFile(java.lang.String filename)
          Executes the script
 QuercusContext getQuercus()
          Returns the Quercus object.
 void setIni(java.lang.String name, java.lang.String value)
          Sets a php-ini value.
 void setOutputStream(java.io.OutputStream out)
          Sets the output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuercusEngine

public QuercusEngine()
Method Detail

getQuercus

public QuercusContext getQuercus()
Returns the Quercus object.


setIni

public void setIni(java.lang.String name,
                   java.lang.String value)
Sets a php-ini value.


setOutputStream

public void setOutputStream(java.io.OutputStream out)
Sets the output stream.


executeFile

public Value executeFile(java.lang.String filename)
                  throws java.io.IOException
Executes the script

Throws:
java.io.IOException

execute

public Value execute(java.lang.String script)
              throws java.io.IOException
Executes the script.

Throws:
java.io.IOException

execute

public Value execute(Path path)
              throws java.io.IOException
Executes the script.

Throws:
java.io.IOException