public final class MXProperties
extends java.lang.Object
EncryptProperties
Constructor and Description |
---|
MXProperties() |
Modifier and Type | Method and Description |
---|---|
static java.util.Properties |
loadProperties(java.io.InputStream in,
boolean loadSysProps)
Call
loadPropsFromStream . |
public static java.util.Properties loadProperties(java.io.InputStream in, boolean loadSysProps) throws MXSystemException
loadPropsFromStream
.
Throw MXSystemException system-major if any exception is encountered.
This closes the input stream when done.in
- InputStream from any encrypted properties file.loadSysProps
- If True, then any properties whose name starts with
"mxe.system" or whose name does not start with "mxe" will be loaded
into System properties, if not already present.MXSystemException
loadPropsFromStream(java.io.InputStream, boolean)