Class PackageDesc

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

public class PackageDesc extends Object
The package element.
  • Constructor Details

    • PackageDesc

      public PackageDesc(String name, 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 Details

    • matches

      public boolean matches(String className)
      Parameters:
      className - the fully qualified class name
      Returns:
      whether the specified class is part of this package.
    • getName

      public String getName()
      Returns:
      the package name.
    • getPart

      public String getPart()
      Returns:
      the part name.
    • isRecursive

      public boolean isRecursive()
      Returns:
      whether subpackages should be matched by this package.