Package org.apache.struts2.config
Class ConfigurationUtil
java.lang.Object
org.apache.struts2.config.ConfigurationUtil
ConfigurationUtil
- Author:
- Jason Carreira Created May 23, 2003 11:22:49 PM
-
Method Summary
Modifier and TypeMethodDescriptionbuildParentListFromString
(String parent) Splits the string into a list using a comma as the token separator.static List<PackageConfig>
buildParentsFromString
(Configuration configuration, String parent) Get thePackageConfig
elements with the specified names.getAllClassTypes
(Class<?> clazz)
-
Method Details
-
buildParentsFromString
public static List<PackageConfig> buildParentsFromString(Configuration configuration, String parent) Get thePackageConfig
elements with the specified names.- Parameters:
configuration
- Configuration from which to find the package elementsparent
- Comma separated list of parent package names- Returns:
- The package elements that correspond to the names in the
parent
parameter.
-
buildParentListFromString
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
-