org.omegahat.Environment.System
Class Globals
java.lang.Object
|
+--java.util.Dictionary
|
+--java.util.Hashtable
|
+--java.util.Properties
|
+--org.omegahat.Environment.System.Globals
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map, java.io.Serializable
- public class Globals
- extends java.util.Properties
This is the class that contains the global information about the
running Omegahat process. This allows arbitrary objects to get a
handle on the global or system-wide variables including the (primary)
evaluator manager, the applet itself, etc. Note that we extend the
class Properties
to allow embedding other properties rather than fields.
- See Also:
- Serialized Form
| Inner classes inherited from class java.util.Map |
java.util.Map.Entry |
| Fields inherited from class java.util.Properties |
defaults |
| Methods inherited from class java.util.Properties |
getProperty, getProperty, list, list, load, propertyNames, save, setProperty, store |
| Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
applet
protected static java.applet.Applet applet
manager
protected static EvaluatorManager manager
evaluator
protected static Evaluator evaluator
commandLineArgs
protected static java.lang.String[] commandLineArgs
Globals
public Globals()
applet
public static java.applet.Applet applet()
applet
public static java.applet.Applet applet(java.applet.Applet a)
manager
public static EvaluatorManager manager()
manager
public static EvaluatorManager manager(EvaluatorManager m)
args
public static java.lang.String[] args()
args
public static java.lang.String[] args(java.lang.String[] args)
error
public static void error(java.lang.String msg)
warning
public static void warning(java.lang.String msg)
evaluator
public static Evaluator evaluator()
throws java.lang.ClassNotFoundException
evaluator
public static Evaluator evaluator(boolean force)
throws java.lang.ClassNotFoundException
evaluator
public static Evaluator evaluator(Evaluator e)
throws java.lang.ClassNotFoundException
stringList
public static java.lang.String[] stringList(java.lang.String list)
stringList
public static java.lang.String[] stringList(java.lang.String list,
char sep)
- More general form of stringList that takes a different
separator.
- Parameters:
list - string containing the components to be split.sep - the separator used to split the components.