Package org.codehaus.plexus.util
Class PropertyUtils
- java.lang.Object
-
- org.codehaus.plexus.util.PropertyUtils
-
public class PropertyUtils extends Object
Static methods to create Properties loaded from various sources.- Author:
- Jason van Zyl, Michal Maczka
-
-
Constructor Summary
Constructors Constructor Description PropertyUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Properties
loadProperties(File file)
static Properties
loadProperties(InputStream is)
static Properties
loadProperties(URL url)
-
-
-
Method Detail
-
loadProperties
public static Properties loadProperties(URL url) throws IOException
- Throws:
IOException
-
loadProperties
public static Properties loadProperties(File file) throws IOException
- Throws:
IOException
-
loadProperties
public static Properties loadProperties(InputStream is) throws IOException
- Throws:
IOException
-
-