PackageDesc (IcedTea-Web: NetX )
Keywords: net.sourceforge.jnlp.PackageDesc class
Date: 2018-03-18

net.sourceforge.jnlp

## Class PackageDesc

- java.lang.Object
- - net.sourceforge.jnlp.PackageDesc

-     public class PackageDesc
      extends java.lang.Object

  The package element.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PackageDesc(java.lang.String name, java.lang.String part, boolean recursive)` Create a package descriptor.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getName()`
    `java.lang.String` | `getPart()`
    `boolean` | `isRecursive()`
    `boolean` | `matches(java.lang.String className)`

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

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

- - ### Constructor Detail

    - #### PackageDesc

          public PackageDesc(java.lang.String name,
                             java.lang.String part,
                             boolean recursive)

      Create a package descriptor.
      Parameters:
        `name` - the package name
        `part` - the part required by the package
        `recursive` - whether the package includes subpackages

  - ### Method Detail

    - #### matches

          public boolean matches(java.lang.String className)

      Parameters:
        `className` - the fully qualified class name
      Returns:
        whether the specified class is part of this package.

    - #### getName

          public java.lang.String getName()

      Returns:
        the package name.

    - #### getPart

          public java.lang.String getPart()

      Returns:
        the part name.

    - #### isRecursive

          public boolean isRecursive()

      Returns:
        whether subpackages should be matched by this package.

Submit a bug or feature