org.xith3d.utility.config
Class Configuration

java.lang.Object
  extended by org.xith3d.utility.config.Configuration

public final class Configuration
extends java.lang.Object


Constructor Summary
Configuration()
           
 
Method Summary
 java.util.Properties getCurrentConfig()
           
 void load(java.lang.String subdir, java.lang.String filename)
          Inspects different points in the claspath and the filesystem for the requested file resource and loads/merges the config settings in case.
 void register(java.lang.Class<?> targetClass)
           
 void register(java.lang.Class<?> targetClass, java.lang.String targetProperty)
           
 void register(java.lang.Class<?> targetClass, java.lang.String targetProperty, java.lang.String description)
           
 void register(java.lang.String propertyKey, java.lang.Class<?> targetClass, java.lang.String targetProperty)
           
 void register(java.lang.String propertyKey, java.lang.Class<?> targetClass, java.lang.String targetProperty, java.lang.String description)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Configuration

public Configuration()
Method Detail

getCurrentConfig

public final java.util.Properties getCurrentConfig()

register

public void register(java.lang.String propertyKey,
                     java.lang.Class<?> targetClass,
                     java.lang.String targetProperty,
                     java.lang.String description)

register

public void register(java.lang.String propertyKey,
                     java.lang.Class<?> targetClass,
                     java.lang.String targetProperty)

register

public void register(java.lang.Class<?> targetClass,
                     java.lang.String targetProperty,
                     java.lang.String description)

register

public void register(java.lang.Class<?> targetClass,
                     java.lang.String targetProperty)

register

public void register(java.lang.Class<?> targetClass)

load

public void load(java.lang.String subdir,
                 java.lang.String filename)
Inspects different points in the claspath and the filesystem for the requested file resource and loads/merges the config settings in case.

Parameters:
subdir -
filename -