com.opensymphony.xwork2.config

## Class ConfigurationUtil

- java.lang.Object
- - com.opensymphony.xwork2.config.ConfigurationUtil

-     public class ConfigurationUtil
      extends Object

  ConfigurationUtil
  Author:
    Jason Carreira Created May 23, 2003 11:22:49 PM

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and 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.

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

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

- - ### Method Detail

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

Copyright © 2000–2022 Apache Software Foundation. All rights reserved.