org.apache.commons.configuration2

## Interface ConfigurationBuilder

-     public interface ConfigurationBuilder

  Definition of an interface for objects that can create a configuration.

  This interface defines an abstract way of creating a `Configuration` object. It does not assume any specific way of how this is done; this is completely in the responsibility of an implementation class. There is just a single method that returns the configuration constructed by this builder.

  Version:
    $Id: ConfigurationBuilder.java 1624601 2014-09-12 18:04:36Z oheger $
  Author:
    Commons Configuration team

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Configuration` | `getConfiguration()` Returns the configuration provided by this builder.

- - ### Method Detail

    - #### getConfiguration

          Configuration getConfiguration()
                                         throws ConfigurationException

      Returns the configuration provided by this builder. An implementation has to perform all necessary steps for creating and initializing a `Configuration` object.
      Returns:
        the configuration
      Throws:
        `ConfigurationException` - if an error occurs

Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.