Package com.luciad

Class Environment

java.lang.Object
com.luciad.Environment
All Implemented Interfaces:
AutoCloseable

public final class Environment extends Object implements 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.

  • Method Details Link icon

    • finalize Link icon

      protected void finalize()
      Overrides:
      finalize in class Object
    • close Link icon

      public void close()
      Specified by:
      close in interface AutoCloseable
    • createInitializer Link icon

      @NotNull public static Environment.Initializer createInitializer()
      Starts the initialization of the global Environment.

      The returned object allows to configure how and what initialization will be done.

      This function can only be called once.

      Returns:
      the initializer