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
    `DefaultClassFinder.PackageInfo(Package pkg)`
    `DefaultClassFinder.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

    - #### DefaultClassFinder.PackageInfo

          public DefaultClassFinder.PackageInfo(Package pkg)

    - #### DefaultClassFinder.PackageInfo

          public DefaultClassFinder.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.