gov.nasa.worldwind
Class WorldWind
java.lang.Object
gov.nasa.worldwind.WorldWind
public final class WorldWind
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createComponent
public static Object createComponent(String className)
throws WWRuntimeException
- Parameters:
className -
- Returns:
-
- Throws:
WWRuntimeException - if the Object could not be created
IllegalArgumentException - if className is null or zero length
createConfigurationComponent
public static Object createConfigurationComponent(String classNameKey)
throws IllegalStateException,
IllegalArgumentException
- Parameters:
classNameKey -
- Returns:
-
- Throws:
IllegalStateException - if no name could be found which corresponds to classNameKey
IllegalArgumentException - if classNameKey is null
WWRuntimeException - if the component could not be created
dataFileCache
public static FileCache dataFileCache()
getStringValue
public static String getStringValue(String key)
getValue
public static Object getValue(String key)
hasKey
public static boolean hasKey(String key)
logger
public static Logger logger()
memoryCache
public static MemoryCache memoryCache()
removeKey
public static void removeKey(String key)
retrievalService
public static RetrievalService retrievalService()
retrieveErrMsg
public static String retrieveErrMsg(String property)
- Retrieve a String resource from the "error" bundle.
- Parameters:
property - The property used to identify which String to return.
- Returns:
- the requested String.
retrieveMessage
public static String retrieveMessage(String property,
String bundle)
setValue
public static void setValue(String key,
String value)
threadedTaskService
public static ThreadedTaskService threadedTaskService()