gov.nasa.pds.search.util
Class PropertiesUtil

java.lang.Object
  extended by gov.nasa.pds.search.util.PropertiesUtil

public class PropertiesUtil
extends Object

Utility class used to read Properties files

Author:
jpadams

Constructor Summary
PropertiesUtil()
           
 
Method Summary
static Map<String,String> getPropertiesMap(File propsFile, String prefix)
          Static method to read a properties file and return a name-value mapping given a prefix for the property key
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesUtil

public PropertiesUtil()
Method Detail

getPropertiesMap

public static Map<String,String> getPropertiesMap(File propsFile,
                                                  String prefix)
Static method to read a properties file and return a name-value mapping given a prefix for the property key

Parameters:
propsFile -
prefix -
Returns:


Copyright © 2010-2013 Planetary Data System. All Rights Reserved.