ecologylab.appframework
Class Environment.The
java.lang.Object
ecologylab.generic.Debug
ecologylab.appframework.Environment.The
- Enclosing interface:
- Environment
public static class Environment.The
- extends Debug
Holds a reference to the singleton global instance of
Environment, and simple methods for getting and setting
this reference.
| Methods inherited from class ecologylab.generic.Debug |
classSimpleName, closeLoggingFile, debug, debug, debug, debug, debugA, debugA, debugA, debugI, debugI, debugI, error, error, getClassName, getClassName, getInteractive, getPackageName, getPackageName, getPackageName, initialize, level, level, level, logToFile, print, print, println, println, println, println, println, println, printlnA, printlnA, printlnA, printlnI, printlnI, printlnI, printlnI, setLoggingFile, show, show, superString, toggleInteractive, toString, toString, warning, warning, weird, weird |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Environment.The
public Environment.The()
Environment.The
public Environment.The(Environment e)
set
public void set(Environment e)
get
public Environment get()
javaVersion
public float javaVersion()
- Returns:
- The version of Java we're using.
hasGoodJava
public boolean hasGoodJava()
- Check to see if we're running on what we consider to be a decent, usable version of Java.
For 1.5, this means rel 4 or more; for 1.4, it means 1.42_04 or more.
- Returns:
- true if the Java we're running on is good; false if its crap.
javaIsBeta
public boolean javaIsBeta()
hasQuicktime
public boolean hasQuicktime()
hasAgile2D
public boolean hasAgile2D()
hasMultivalent
public boolean hasMultivalent()
hasPDFBox
public boolean hasPDFBox()
hasJTidy
public boolean hasJTidy()
hasGL
public boolean hasGL()
hasXML
public boolean hasXML()
hasServlet
public boolean hasServlet()
checkFor
public static boolean checkFor(java.lang.String className)
frame
public java.lang.String frame()
preferencesRegistry
public Scope preferencesRegistry()
- The registry of Preferences for this Environment.
- Returns:
- registry of Preferences for this Environment.