org.gcube.portlets.admin.resourcemanagement.server.gcube.services.configuration
Class ConfigurationLoader

java.lang.Object
  extended by org.gcube.portlets.admin.resourcemanagement.server.gcube.services.configuration.ConfigurationLoader

public final class ConfigurationLoader
extends Object

Author:
Daniele Strollo (ISTI-CNR)

Method Summary
static boolean getBoolProperty(String key)
           
protected static ConfigurationLoader getInstance()
           
static int getIntProperty(String key)
           
static Properties getProperties()
           
static String getProperty(String key)
           
static void setConfigurationFile(String filename)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setConfigurationFile

public static void setConfigurationFile(String filename)

getInstance

protected static ConfigurationLoader getInstance()

getProperties

public static Properties getProperties()

getProperty

public static String getProperty(String key)
                          throws Exception
Throws:
Exception

getIntProperty

public static int getIntProperty(String key)
                          throws Exception
Throws:
Exception

getBoolProperty

public static boolean getBoolProperty(String key)
                               throws Exception
Throws:
Exception


Copyright © 2013. All Rights Reserved.