psdi.util

Class MXProperties

  • java.lang.Object
    • psdi.util.MXProperties


  • public final class MXProperties
    extends java.lang.Object
    Given an InputStream, return a Properties object. Decrypt as needed, if file was encrypted via EncryptProperties. This class gets properties only from the maximo properties file. It does not get properties from database.
    See Also:
    EncryptProperties
    • Constructor Summary

      Constructors 
      Constructor and Description
      MXProperties() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.util.Properties loadProperties(java.io.InputStream in, boolean loadSysProps)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MXProperties

        public MXProperties()
    • Method Detail

      • loadProperties

        public static java.util.Properties loadProperties(java.io.InputStream in,
                                                          boolean loadSysProps)
                                                   throws MXSystemException
        Call loadPropsFromStream. Throw MXSystemException system-major if any exception is encountered. This closes the input stream when done.
        Parameters:
        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.
        Returns:
        Properties
        Throws:
        MXSystemException
        See Also:
        MXProperties.loadPropsFromStream(java.io.InputStream, boolean)