com.jdroid.java.utils
Class PropertiesUtils

java.lang.Object
  extended by com.jdroid.java.utils.PropertiesUtils

public abstract class PropertiesUtils
extends Object


Constructor Summary
PropertiesUtils()
           
 
Method Summary
static Boolean getBooleanProperty(String name)
           
static Boolean getBooleanProperty(String name, Boolean defaultValue)
           
static Integer getIntegerProperty(String name)
           
static Integer getIntegerProperty(String name, Integer defaultValue)
           
static String getStringProperty(String name)
           
static String getStringProperty(String name, String defaultValue)
           
static Set<String> getStringSetProperty(String name)
           
static void loadProperties(String resourceName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesUtils

public PropertiesUtils()
Method Detail

loadProperties

public static void loadProperties(String resourceName)

getStringProperty

public static String getStringProperty(String name)

getStringProperty

public static String getStringProperty(String name,
                                       String defaultValue)

getIntegerProperty

public static Integer getIntegerProperty(String name)

getIntegerProperty

public static Integer getIntegerProperty(String name,
                                         Integer defaultValue)

getBooleanProperty

public static Boolean getBooleanProperty(String name)

getBooleanProperty

public static Boolean getBooleanProperty(String name,
                                         Boolean defaultValue)

getStringSetProperty

public static Set<String> getStringSetProperty(String name)


Copyright © 2014. All rights reserved.