Package org.eclipse.imagen.media.util
Class PropertyUtil
Object
PropertyUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic InputStreamgetFileFromClasspath(String path) static String[]getPropertyNames(String[] propertyNames, String prefix) Utility method to search the full list of property names for matches.static String
-
Constructor Details
-
PropertyUtil
public PropertyUtil()
-
-
Method Details
-
getFileFromClasspath
public static InputStream getFileFromClasspath(String path) throws IOException, FileNotFoundException - Throws:
IOExceptionFileNotFoundException
-
getString
-
getPropertyNames
Utility method to search the full list of property names for matches. IfpropertyNamesisnullthennullis returned.- Throws:
IllegalArgumentException- ifprefixisnullandpropertyNamesis non-null.
-