org.apache.struts2.plexus

## Class PlexusUtils

- java.lang.Object
- - org.apache.struts2.plexus.PlexusUtils

-     public class PlexusUtils
      extends Object

  Utility methods for dealing with Plexus

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PlexusUtils()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `configure(org.codehaus.plexus.PlexusContainer pc, String file)` Configures the container with the configuration file

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

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

- - ### Constructor Detail

    - #### PlexusUtils

          public PlexusUtils()

  - ### Method Detail

    - #### configure

          public static void configure(org.codehaus.plexus.PlexusContainer pc,
                                       String file)
                                throws org.codehaus.plexus.configuration.PlexusConfigurationResourceException

      Configures the container with the configuration file
      Parameters:
        `pc` - The plexus container
        `file` - The file path
      Throws:
        `org.codehaus.plexus.configuration.PlexusConfigurationResourceException` - If the plexus configuration can't be loaded

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