com.opensymphony.xwork2.util.finder

## Class ClassFinder.PackageInfo

- java.lang.Object
- - com.opensymphony.xwork2.util.finder.ClassFinder.Annotatable
  - - com.opensymphony.xwork2.util.finder.ClassFinder.PackageInfo

- All Implemented Interfaces:
    ClassFinder.Info
  Enclosing interface:
    ClassFinder

      public static class ClassFinder.PackageInfo
      extends ClassFinder.Annotatable
      implements ClassFinder.Info

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PackageInfo(Package pkg)`
    `PackageInfo(String name, ClassFinder classFinder)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Package` | `get()`
    `String` | `getName()`

    - ### Methods inherited from class com.opensymphony.xwork2.util.finder.ClassFinder.Annotatable

      `getAnnotations`

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

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

    - ### Methods inherited from interface com.opensymphony.xwork2.util.finder.ClassFinder.Info

      `getAnnotations`

- - ### Constructor Detail

    - #### PackageInfo

          public PackageInfo(Package pkg)

    - #### PackageInfo

          public PackageInfo(String name,
                             ClassFinder classFinder)

  - ### Method Detail

    - #### getName

          public String getName()

      Specified by:
        `getName` in interface `ClassFinder.Info`

    - #### get

          public Package get()
                      throws ClassNotFoundException

      Throws:
        `ClassNotFoundException`

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