Package com.luciad

Class Environment

All Implemented Interfaces:

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

    • finalize

      protected void finalize()
      finalize in class Object
    • close

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

      @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.

      the initializer