com.opensymphony.xwork2.util.finder

## Interface ClassLoaderInterface

- All Known Implementing Classes:
    ClassLoaderInterfaceDelegate

      public interface ClassLoaderInterface

  Classes implementing this interface can find resources and load classes, usually delegating to a class loader

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `CLASS_LOADER_INTERFACE`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `ClassLoaderInterface` | `getParent()`
    `URL` | `getResource(String name)`
    `InputStream` | `getResourceAsStream(String name)`
    `Enumeration<URL>` | `getResources(String name)`
    `Class<?>` | `loadClass(String name)`

- - ### Field Detail

    - #### CLASS_LOADER_INTERFACE

          static final String CLASS_LOADER_INTERFACE

      See Also:
        Constant Field Values

  - ### Method Detail

    - #### loadClass

          Class<?> loadClass(String name)
                      throws ClassNotFoundException

      Throws:
        `ClassNotFoundException`

    - #### getResource

          URL getResource(String name)

    - #### getResources

          Enumeration<URL> getResources(String name)
                                 throws IOException

      Throws:
        `IOException`

    - #### getResourceAsStream

          InputStream getResourceAsStream(String name)
                                   throws IOException

      Throws:
        `IOException`

    - #### getParent

          ClassLoaderInterface getParent()

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