de.extra.client.plugins.outputplugin.config
Class ExtraPropertiesHelper

java.lang.Object
  extended by de.extra.client.plugins.outputplugin.config.ExtraPropertiesHelper

public class ExtraPropertiesHelper
extends Object

Helper class to read the specifies property file


Constructor Summary
ExtraPropertiesHelper()
           
 
Method Summary
static String getProperty(String fileName, String propertyName)
          Get the property.
static Object processPropertyFile(Object storageObject, String fileName)
          Process the property file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtraPropertiesHelper

public ExtraPropertiesHelper()
Method Detail

getProperty

public static String getProperty(String fileName,
                                 String propertyName)
                          throws PropertiesHelperException
Get the property.

Parameters:
fileName -
propertyName -
Returns:
the property corresponding to the given propertyName
Throws:
PropertiesHelperException

processPropertyFile

public static Object processPropertyFile(Object storageObject,
                                         String fileName)
                                  throws PropertiesHelperException
Process the property file.

Parameters:
storageObject -
fileName -
Returns:
the given storageObject that was modified by this method
Throws:
PropertiesHelperException


Copyright © 2012-2013. All Rights Reserved.