edu.sc.seis.TauP
Class TauP_Console

java.lang.Object
  extended by org.python.util.PythonInterpreter
      extended by org.python.util.InteractiveInterpreter
          extended by org.python.util.InteractiveConsole
              extended by edu.sc.seis.TauP.TauP_Console

public class TauP_Console
extends org.python.util.InteractiveConsole


Nested Class Summary
 class TauP_Console.DirCompleter
           
 
Field Summary
static java.lang.String DEFAULT_PROPS
           
protected  java.lang.String historyFilename
           
protected  java.lang.String prompt
           
 
Fields inherited from class org.python.util.InteractiveConsole
CONSOLE_FILENAME, filename
 
Fields inherited from class org.python.util.InteractiveInterpreter
buffer
 
Fields inherited from class org.python.util.PythonInterpreter
cflags, systemState, threadLocals
 
Constructor Summary
TauP_Console()
           
 
Method Summary
static java.lang.String formatForJythonSysPath(java.lang.Class c, java.lang.String jarDir)
           
 void interact()
           
static void main(java.lang.String[] args)
           
 void printUsage()
           
 java.lang.String raw_input(org.python.core.PyObject prompt)
           
 
Methods inherited from class org.python.util.InteractiveConsole
getDefaultBanner, interact, push, raw_input
 
Methods inherited from class org.python.util.InteractiveInterpreter
interrupt, resetbuffer, runcode, runsource, runsource, runsource, showexception, write
 
Methods inherited from class org.python.util.PythonInterpreter
cleanup, compile, compile, compile, compile, eval, eval, exec, exec, execfile, execfile, execfile, get, get, getLocals, getSystemState, initialize, set, set, setErr, setErr, setErr, setIn, setIn, setIn, setLocals, setOut, setOut, setOut, setSystemState, threadLocalStateInterpreter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prompt

protected java.lang.String prompt

historyFilename

protected java.lang.String historyFilename

DEFAULT_PROPS

public static final java.lang.String DEFAULT_PROPS
See Also:
Constant Field Values
Constructor Detail

TauP_Console

public TauP_Console()
             throws java.io.IOException
Throws:
java.io.IOException
Method Detail

interact

public void interact()
Overrides:
interact in class org.python.util.InteractiveConsole

raw_input

public java.lang.String raw_input(org.python.core.PyObject prompt)
Overrides:
raw_input in class org.python.util.InteractiveConsole

formatForJythonSysPath

public static java.lang.String formatForJythonSysPath(java.lang.Class c,
                                                      java.lang.String jarDir)

printUsage

public void printUsage()

main

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