fnug.config
Class DefaultConfig

java.lang.Object
  extended by fnug.config.DefaultConfig
All Implemented Interfaces:
Config

public class DefaultConfig
extends Object
implements Config

Default implementation of Config

Author:
Martin Algesten

Constructor Summary
DefaultConfig(BundleConfig... bundleConfigs)
          Constructs from a bunch of BundleConfig.
DefaultConfig(T configs)
          Constructs using a collection of configs.
 
Method Summary
 BundleConfig[] getBundleConfigs()
          The BundleConfig found in the config file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultConfig

public DefaultConfig(BundleConfig... bundleConfigs)
Constructs from a bunch of BundleConfig.

Parameters:
bundleConfigs - configs.

DefaultConfig

public DefaultConfig(T configs)
Constructs using a collection of configs.

Type Parameters:
T - type of collection
Parameters:
configs - configs
Method Detail

getBundleConfigs

public BundleConfig[] getBundleConfigs()
The BundleConfig found in the config file.

Specified by:
getBundleConfigs in interface Config
Returns:
the found bundle configs.


Copyright © 2012. All Rights Reserved.