Package org.apache.maven.surefire.booter
Class SystemPropertyManager
java.lang.Object
org.apache.maven.surefire.booter.SystemPropertyManager
- Author:
 - Kristian Rosenvold
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic PropertiesWrapperloadProperties(InputStream inStream) Loads the properties, closes the streamstatic voidsetSystemProperties(File file) static voidwritePropertiesFile(File file, String name, Properties properties) static FilewritePropertiesFile(Properties properties, File tempDirectory, String name, boolean keepForkFiles)  
- 
Constructor Details
- 
SystemPropertyManager
public SystemPropertyManager() 
 - 
 - 
Method Details
- 
loadProperties
Loads the properties, closes the stream- Parameters:
 inStream- The stream to read from, will be closed- Returns:
 - The properties
 - Throws:
 IOException- If something bad happens
 - 
setSystemProperties
- Throws:
 IOException
 - 
writePropertiesFile
public static File writePropertiesFile(Properties properties, File tempDirectory, String name, boolean keepForkFiles) throws IOException - Throws:
 IOException
 - 
writePropertiesFile
public static void writePropertiesFile(File file, String name, Properties properties) throws IOException - Throws:
 IOException
 
 -