Class MapUtils


  • public final class MapUtils
    extends java.lang.Object
    Utility class for Maps.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Set<java.util.Map.Entry<java.lang.Object,​java.lang.Object>> loadExternalPropertiesToSet​(java.lang.String propertiesFilePath)
      Loads an external (non-classpath) property class into a set with entry mappings.
      static java.util.Set<java.util.Map.Entry<java.lang.Object,​java.lang.Object>> loadPropertiesToSet​(java.lang.String propertiesFilePath)
      Loads a property class into a set with entry mappings.
      • Methods inherited from class java.lang.Object

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

      • loadPropertiesToSet

        public static java.util.Set<java.util.Map.Entry<java.lang.Object,​java.lang.Object>> loadPropertiesToSet​(java.lang.String propertiesFilePath)
        Loads a property class into a set with entry mappings.
        Parameters:
        propertiesFilePath - file path to the property file (e.g. ./filename.properties for files in /resources)
        Returns:
        a set of entry mappings
      • loadExternalPropertiesToSet

        public static java.util.Set<java.util.Map.Entry<java.lang.Object,​java.lang.Object>> loadExternalPropertiesToSet​(java.lang.String propertiesFilePath)
        Loads an external (non-classpath) property class into a set with entry mappings.
        Parameters:
        propertiesFilePath - file path to the property file
        Returns:
        a set of entry mappings