Package org.apache.struts2.config

# 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 Summary

  Modifier and Type
  Method
  Description
  `static List<String>`
  `buildParentListFromString(String parent)`
  Splits the string into a list using a comma as the token separator.
  `static List<PackageConfig>`
  `buildParentsFromString(Configuration configuration, String parent)`
  Get the `PackageConfig` elements with the specified names.
  `static Set<Class<?>>`
  `getAllClassTypes(Class<?> clazz)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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)