org.apache.struts2.convention

## Class DefaultClassFinder.PackageInfo

- java.lang.Object
- - com.opensymphony.xwork2.util.finder.ClassFinder.Annotatable
  - - org.apache.struts2.convention.DefaultClassFinder.PackageInfo

- All Implemented Interfaces:
    ClassFinder.Info
  Enclosing class:
    DefaultClassFinder

      public class DefaultClassFinder.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–2022 Apache Software Foundation. All rights reserved.