Class ParameterUtil

java.lang.Object
org.codelibs.fess.util.ParameterUtil

public class ParameterUtil extends Object
Utility class for parameter operations.
  • Field Details

  • Constructor Details

    • ParameterUtil

      protected ParameterUtil()
      Protected constructor.
  • Method Details

    • parse

      public static Map<String,String> parse(String value)
      Parses parameter string into a map.
      Parameters:
      value - the parameter string
      Returns:
      the parameter map
    • encrypt

      public static String encrypt(String value)
      Encrypts sensitive parameter values.
      Parameters:
      value - the parameter string
      Returns:
      the encrypted parameter string
    • loadConfigParams

      public static void loadConfigParams(Map<String,Object> paramMap, String configParam)
      Loads configuration parameters into a map.
      Parameters:
      paramMap - the parameter map
      configParam - the configuration parameter string
    • createConfigParameterMap

      public static Map<org.codelibs.fess.opensearch.config.exentity.CrawlingConfig.ConfigName,Map<String,String>> createConfigParameterMap(String configParameters)
      Creates a configuration parameter map.
      Parameters:
      configParameters - the configuration parameters
      Returns:
      the configuration parameter map