Class PropertiesUtil


  • public class PropertiesUtil
    extends java.lang.Object
    This class contains utility methods for Properties instances.
    Author:
    cmerkel
    • Constructor Summary

      Constructors 
      Constructor Description
      PropertiesUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Map<java.lang.String,​java.lang.String> toMap​(java.util.Properties properties)
      This method converts the given Properties to a Map.
      • Methods inherited from class java.lang.Object

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

      • PropertiesUtil

        public PropertiesUtil()
    • Method Detail

      • toMap

        public static java.util.Map<java.lang.String,​java.lang.String> toMap​(java.util.Properties properties)
        This method converts the given Properties to a Map.
        Parameters:
        properties - the properties to convert
        Returns:
        a map containing the properties