java.lang.Object
de.hybris.platform.integration.cis.subscription.util.MapUtils

public final class MapUtils extends Object
Utility class for Maps.
  • Method Details

    • loadPropertiesToSet

      public static Set<Map.Entry<Object,Object>> loadPropertiesToSet(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 Set<Map.Entry<Object,Object>> loadExternalPropertiesToSet(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