Package org.apache.struts2.util
Class ConfigParseUtil
java.lang.Object
org.apache.struts2.util.ConfigParseUtil
-
Method Summary
Modifier and TypeMethodDescriptiontoClassesSet
(String newDelimitedClasses) toClassObjectsSet
(String newDelimitedClasses) toNewClassesSet
(Set<String> oldClasses, String newDelimitedClasses) toNewPackageNamesSet
(Collection<String> oldPackageNames, String newDelimitedPackageNames) toNewPatternsSet
(Set<Pattern> oldPatterns, String newDelimitedPatterns) toPackageNamesSet
(String newDelimitedPackageNames) validateClasses
(Set<String> classNames, ClassLoader validatingClassLoader) static void
validatePackageNames
(Collection<String> packageNames)
-
Method Details
-
toClassesSet
- Throws:
ConfigurationException
-
toClassObjectsSet
public static Set<Class<?>> toClassObjectsSet(String newDelimitedClasses) throws ConfigurationException - Throws:
ConfigurationException
-
toNewClassesSet
public static Set<String> toNewClassesSet(Set<String> oldClasses, String newDelimitedClasses) throws ConfigurationException - Throws:
ConfigurationException
-
toNewPatternsSet
public static Set<Pattern> toNewPatternsSet(Set<Pattern> oldPatterns, String newDelimitedPatterns) throws ConfigurationException - Throws:
ConfigurationException
-
validateClasses
public static Set<Class<?>> validateClasses(Set<String> classNames, ClassLoader validatingClassLoader) throws ConfigurationException - Throws:
ConfigurationException
-
toPackageNamesSet
public static Set<String> toPackageNamesSet(String newDelimitedPackageNames) throws ConfigurationException - Throws:
ConfigurationException
-
toNewPackageNamesSet
public static Set<String> toNewPackageNamesSet(Collection<String> oldPackageNames, String newDelimitedPackageNames) throws ConfigurationException - Throws:
ConfigurationException
-
validatePackageNames
-