public class SystemPropertyManager extends Object
Constructor and Description |
---|
SystemPropertyManager() |
Modifier and Type | Method and Description |
---|---|
static PropertiesWrapper |
loadProperties(InputStream inStream)
Loads the properties, closes the stream
|
static void |
setSystemProperties(File file) |
static void |
writePropertiesFile(File file,
String name,
Properties properties) |
static File |
writePropertiesFile(Properties properties,
File tempDirectory,
String name,
boolean keepForkFiles) |
public static PropertiesWrapper loadProperties(InputStream inStream) throws IOException
inStream
- The stream to read from, will be closedIOException
- If something bad happenspublic static void setSystemProperties(File file) throws IOException
IOException
public static File writePropertiesFile(Properties properties, File tempDirectory, String name, boolean keepForkFiles) throws IOException
IOException
public static void writePropertiesFile(File file, String name, Properties properties) throws IOException
IOException
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.