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
Nested ClassesModifier and TypeClassDescriptionstatic final classInitializerfor the globalEnvironmentneeded by this library. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static Environment.InitializerStarts the initialization of the globalEnvironment.protected voidfinalize()
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
closein 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
-