com.caucho.quercus
Class Quercus

java.lang.Object
  extended by com.caucho.quercus.QuercusContext
      extended by com.caucho.quercus.Quercus
Direct Known Subclasses:
CliQuercus

public class Quercus
extends QuercusContext


Field Summary
 
Fields inherited from class com.caucho.quercus.QuercusContext
_envTimeout, _functionNameMap, ENV_TIMEOUT_UPDATE_INTERVAL, INI_ALWAYS_POPULATE_RAW_POST_DATA, INI_INCLUDE_PATH, INI_REGISTER_LONG_ARRAYS, INI_UNICODE_FALLBACK_ENCODING, INI_UNICODE_FROM_ERROR_MODE, INI_UNICODE_FROM_ERROR_SUBST_CHAR, INI_UNICODE_HTTP_INPUT_ENCODING, INI_UNICODE_OUTPUT_ENCODING, INI_UNICODE_RUNTIME_ENCODING, INI_UNICODE_SCRIPT_ENCODING, INI_UNICODE_SEMANTICS
 
Constructor Summary
Quercus()
           
 
Method Summary
 void execute()
           
 void execute(Path path)
           
 void execute(java.lang.String code)
           
 java.lang.String getFileName()
           
 java.lang.String getSapiName()
          Returns the SAPI (Server API) name.
static void main(java.lang.String[] args)
           
protected  boolean parseArgs(java.lang.String[] args)
           
static void printUsage()
           
 void setFileName(java.lang.String name)
           
 
Methods inherited from class com.caucho.quercus.QuercusContext
addImplClass, addJavaClass, addJavaClass, addLowerConstantId, addModule, addModuleInfo, clearDefinitionCache, close, completeEnv, createEnv, createExprFactory, createModuleContext, createPageManager, createSessionManager, createStaticName, createString, createUnicodeString, destroySession, extendFunctionMap, findClass, findClassId, findDatabase, findFunction, findFunctionId, findFunctionImpl, findJavaClassWrapper, findLowerFunctionImpl, findModule, getActiveEnvSet, getCachedClass, getClassCacheMap, getClassDef, getClassDefMap, getClassId, getClassIdCount, getClassMap, getClassName, getClassName, getCompileClassLoader, getConnection, getConstant, getConstantId, getConstantId, getConstantIdCount, getConstantLower, getConstantLowerId, getConstantMap, getConstantName, getCookieName, getCurrentTime, getDatabase, getDefCacheHitCount, getDefCacheMissCount, getDefinedFunctions, getDependencyCheckInterval, getExactTime, getExactTimeNanoseconds, getExtensionFuncs, getFunctionId, getFunctionIdCount, getFunctionMap, getIncludeCache, getIncludeCacheMax, getIncludeCacheTimeout, getIniBoolean, getIniDefinitions, getIniFile, getIniLong, getIniMap, getIniValue, getJavaClassDefinition, getJavaClassDefinition, getLoadedExtensions, getLocalContext, getLocalContext, getModuleContext, getModules, getModuleStartupListeners, getMysqlVersion, getPageCacheSize, getPhpVersion, getPhpVersionValue, getProfileIndex, getPwd, getQuercusSessionManager, getRegexpCacheSize, getScriptEncoding, getServerEnv, getServerEnvMap, getServletContext, getSessionCache, getSpecial, getStatement, getStdClass, getVersion, getVersionDate, getWorkDir, includeExists, init, initLocal, isAllowUrlFopen, isAllowUrlInclude, isClosed, isCompile, isConnectionPool, isExtensionLoaded, isLooseParse, isPro, isProfile, isRequireSource, isResin, isStrict, isSuperGlobal, isUnicodeSemantics, loadSession, markForPoolRemoval, objectToValue, parse, parse, parse, parseCode, parseEvalExpr, parseFunction, putIncludeCache, saveSession, setCachedClass, setCompile, setCompileClassLoader, setCompileFailover, setConnectionPool, setDatabase, setFunction, setIncludeCacheMax, setIncludeCacheTimeout, setIni, setIni, setIniFile, setLazyCompile, setLooseParse, setMysqlVersion, setPageCacheSize, setPhpVersion, setProfileProbability, setPwd, setRegexpCacheSize, setRequireSource, setScriptEncoding, setServerEnv, setServerEnv, setServletContext, setSessionTimeout, setSpecial, setStrict, setUnicodeSemantics, setWorkDir, start, startEnv
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Quercus

public Quercus()
Method Detail

main

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

printUsage

public static void printUsage()

getSapiName

public java.lang.String getSapiName()
Returns the SAPI (Server API) name.

Overrides:
getSapiName in class QuercusContext

getFileName

public java.lang.String getFileName()

setFileName

public void setFileName(java.lang.String name)

parseArgs

protected boolean parseArgs(java.lang.String[] args)

execute

public void execute()
             throws java.io.IOException
Throws:
java.io.IOException

execute

public void execute(java.lang.String code)
             throws java.io.IOException
Throws:
java.io.IOException

execute

public void execute(Path path)
             throws java.io.IOException
Throws:
java.io.IOException