org.apache.maven.surefire.booter
Class SystemPropertyManager
java.lang.Object
  
org.apache.maven.surefire.booter.SystemPropertyManager
public class SystemPropertyManager
- extends Object
 
- Author:
 
  - Kristian Rosenvold
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
SystemPropertyManager
public SystemPropertyManager()
loadProperties
public static PropertiesWrapper loadProperties(InputStream inStream)
                                        throws IOException
- 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
public static void setSystemProperties(File file)
                                throws IOException
- 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
 
close
public static void close(InputStream inputStream)
 
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.