it.geosolutions.jaiext.utilities
Class PropertyUtil

java.lang.Object
  extended by it.geosolutions.jaiext.utilities.PropertyUtil

public class PropertyUtil
extends Object


Constructor Summary
PropertyUtil()
           
 
Method Summary
static InputStream getFileFromClasspath(String path)
           
static String[] getPropertyNames(String[] propertyNames, String prefix)
          Utility method to search the full list of property names for matches.
static String getString(String packageName, String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyUtil

public PropertyUtil()
Method Detail

getFileFromClasspath

public static InputStream getFileFromClasspath(String path)
                                        throws IOException,
                                               FileNotFoundException
Throws:
IOException
FileNotFoundException

getString

public static String getString(String packageName,
                               String key)

getPropertyNames

public static String[] getPropertyNames(String[] propertyNames,
                                        String prefix)
Utility method to search the full list of property names for matches. If propertyNames is null then null is returned.

Throws:
IllegalArgumentException - if prefix is null and propertyNames is non-null.


Copyright © 2006–2014 GeoSolutions. All rights reserved.