|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cyc.tool.subl.jrtl.nativeCode.subLisp.SubLMain
public final class SubLMain
Typical arguments: -i "/cyc/top/init/jrtl-init.lisp"
Typical Java params: -server -Xms256m -Xmx776m -Xss1m -XX:MaxPermSize=128m
Typical working directory: /home/
Field Summary
static SubLMain
me
static java.io.PrintStream
ORIGINAL_ERR_STREAM
static java.io.InputStream
ORIGINAL_IN_STREAM
static java.io.PrintStream
ORIGINAL_OUT_STREAM
Method Summary
void
doSystemCleanupAndExit(int code)
static SubLObject
get_red_object()
static java.lang.String
getCommandLineArg(java.lang.String argName)
static SubLString
getInitializationFileName()
static java.lang.String
getInitializationForm()
static SubLReader
getMainReader()
static SubLString
getWorldFileName()
static void
handlePatches()
static void
initializeSubL(java.lang.String[] args)
This is unfortunately public so it can be called by unit tests
static void
initializeTranslatedSystems()
static boolean
isInitialized()
static void
lowMemorySituation()
static void
main(java.lang.String[] args)
void
processCommandLineArgs(java.lang.String[] args)
static void
registerLowMemoryCallback(SubLFunction func)
static void
setIsInitialized()
static void
setMainReader(SubLReader reader)
static boolean
shouldQuitAfterExecutingInitializationForm()
static boolean
shouldRunInBackground()
static boolean
shouldRunReadloopInGUI()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail
ORIGINAL_IN_STREAM
public static final java.io.InputStream ORIGINAL_IN_STREAM
ORIGINAL_OUT_STREAM
public static final java.io.PrintStream ORIGINAL_OUT_STREAM
ORIGINAL_ERR_STREAM
public static final java.io.PrintStream ORIGINAL_ERR_STREAM
me
public static final SubLMain me
Method Detail
doSystemCleanupAndExit
public void doSystemCleanupAndExit(int code)
initializeSubL
public static void initializeSubL(java.lang.String[] args)
initializeTranslatedSystems
public static void initializeTranslatedSystems()
handlePatches
public static void handlePatches()
getCommandLineArg
public static java.lang.String getCommandLineArg(java.lang.String argName)
getWorldFileName
public static SubLString getWorldFileName()
getInitializationFileName
public static SubLString getInitializationFileName()
getInitializationForm
public static java.lang.String getInitializationForm()
shouldQuitAfterExecutingInitializationForm
public static boolean shouldQuitAfterExecutingInitializationForm()
shouldRunInBackground
public static boolean shouldRunInBackground()
shouldRunReadloopInGUI
public static boolean shouldRunReadloopInGUI()
get_red_object
public static SubLObject get_red_object()
isInitialized
public static final boolean isInitialized()
setIsInitialized
public static final void setIsInitialized()
setMainReader
public static void setMainReader(SubLReader reader)
processCommandLineArgs
public void processCommandLineArgs(java.lang.String[] args)
registerLowMemoryCallback
public static final void registerLowMemoryCallback(SubLFunction func)
lowMemorySituation
public static final void lowMemorySituation()
getMainReader
public static SubLReader getMainReader()
main
public static void main(java.lang.String[] args)
args
- the command line arguments
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD