Package com.luciad
Class Environment
java.lang.Object
com.luciad.Environment
- All Implemented Interfaces:
AutoCloseable
Container of global state in this library.
When starting to use this library, you should create an instance of this class and hold on to it until you are finished with this library.
Creating an Environment
is started using createInitializer()
. Using the Initializer
, global settings can be configured for the library and the environment created.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Initializer
for the globalEnvironment
needed by this library. -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
static Environment.Initializer
Starts the initialization of the globalEnvironment
.protected void
finalize()
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
createInitializer
Starts the initialization of the globalEnvironment
.The returned object allows to configure how and what initialization will be done.
This function can only be called once.
- Returns:
- the initializer
-