de.smartics.properties.spi.config.support
Class PropertiesTestHelper

Package class diagram package PropertiesTestHelper
java.lang.Object
  extended by de.smartics.properties.spi.config.support.PropertiesTestHelper

public final class PropertiesTestHelper
     
     
extends Object

PropertiesHelper is useful for test classes.


Constructor Summary
PropertiesTestHelper(ConfigurationKey<?> key)
          Default constructor.
 
Method Summary
 Properties readProperties(ClassLoader classLoader, String resourceId)
           
 Properties readProperties(String resourceId)
           
 Properties readProperties(String resourceId, InputStream input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesTestHelper

public PropertiesTestHelper(ConfigurationKey<?> key)
Default constructor.

Parameters:
key - the key to the configuration to load properties for.
Method Detail

readProperties

public Properties readProperties(String resourceId)

readProperties

public Properties readProperties(ClassLoader classLoader,
                                 String resourceId)

readProperties

public Properties readProperties(String resourceId,
                                 InputStream input)


Copyright © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.