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
    `ClassFinder.PackageInfo(Package pkg)`
    `ClassFinder.PackageInfo(String name, ClassFinder classFinder)`

  - ### Method Summary

    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

    - #### ClassFinder.PackageInfo

          public ClassFinder.PackageInfo(Package pkg)

    - #### ClassFinder.PackageInfo

          public ClassFinder.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–2021 Apache Software Foundation. All rights reserved.