public class Quercus extends 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 and Description |
---|
Quercus() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
void |
execute(Path path) |
void |
execute(ReadStream stream) |
void |
execute(java.lang.String code) |
protected java.lang.String[] |
getArgv() |
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) |
void |
printUsage() |
void |
setFileName(java.lang.String name) |
static void |
startMain(java.lang.String[] args,
Quercus quercus) |
addImplClass, addInitModule, addJavaClass, addJavaClass, addLowerConstantId, clearDefinitionCache, close, completeEnv, createEnv, createExprFactory, createModuleContext, createPageManager, createSessionManager, createStaticName, createString, createUnicodeString, destroySession, extendFunctionMap, finalize, 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, getIniString, getIniValue, getJavaClassDefinition, getJavaClassDefinition, getJdbcDriverContext, getLoadedExtensions, getLocalContext, getLocalContext, getModuleContext, getModules, getModuleStartupListeners, getMysqlVersion, getName, getOutputEncoding, getPageCacheSize, getPhpVersion, getProfileIndex, getPwd, getQuercusSessionManager, getRegexpCacheSize, getScriptEncoding, getServerEnv, getServerEnvMap, getServletContext, getSessionCache, getSpecial, getStatement, getStdClass, getVersion, getVersionDate, getWebInfDir, getWorkDir, includeExists, init, initLocal, isAllowUrlFopen, isAllowUrlInclude, isClosed, isCompile, isConnectionPool, isExtensionLoaded, isLooseParse, isPro, isProfile, isRegisterArgv, isRequireSource, isResin, isStrict, isSuperGlobal, isUnicodeSemantics, loadSession, markForPoolRemoval, objectToValue, parse, parse, parse, parseCode, parseEvalExpr, parseFunction, putIncludeCache, saveSession, setCachedClass, setCompile, setCompileClassLoader, setCompileFailover, setConnectionPool, setDatabase, setDependencyCheckInterval, setFunction, setIncludeCacheMax, setIncludeCacheTimeout, setIni, setIni, setIniFile, setLazyCompile, setLooseParse, setMysqlVersion, setPageCacheSize, setPhpVersion, setProfileProbability, setPwd, setRegexpCacheSize, setRequireSource, setScriptEncoding, setServerEnv, setServerEnv, setServletContext, setSessionTimeout, setSpecial, setStrict, setUnicodeSemantics, setWebInfDir, setWorkDir, start, startEnv
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
public static void startMain(java.lang.String[] args, Quercus quercus) throws java.io.IOException
java.io.IOException
public void printUsage()
public java.lang.String getSapiName()
QuercusContext
getSapiName
in class QuercusContext
public java.lang.String getFileName()
public void setFileName(java.lang.String name)
protected boolean parseArgs(java.lang.String[] args)
protected java.lang.String[] getArgv()
public void execute() throws java.io.IOException
java.io.IOException
public void execute(java.lang.String code) throws java.io.IOException
java.io.IOException
public void execute(Path path) throws java.io.IOException
java.io.IOException
public void execute(ReadStream stream) throws java.io.IOException
java.io.IOException