Class ConfigurationUtil

java.lang.Object
org.apache.struts2.config.ConfigurationUtil

public class ConfigurationUtil extends Object
ConfigurationUtil
Author:
Jason Carreira Created May 23, 2003 11:22:49 PM
  • Method Details

    • buildParentsFromString

      public static List<PackageConfig> buildParentsFromString(Configuration configuration, String parent)
      Get the PackageConfig elements with the specified names.
      Parameters:
      configuration - Configuration from which to find the package elements
      parent - Comma separated list of parent package names
      Returns:
      The package elements that correspond to the names in the parent parameter.
    • buildParentListFromString

      public static List<String> buildParentListFromString(String parent)
      Splits the string into a list using a comma as the token separator.
      Parameters:
      parent - The comma separated string.
      Returns:
      A list of tokens from the specified string.
    • getAllClassTypes

      public static Set<Class<?>> getAllClassTypes(Class<?> clazz)