netx.jnlp

Class PackageDesc


public class PackageDesc
extends java.lang.Object

The package element.
Version:
$Revision: 1.6 $
Author:
Jon A. Maxwell (JAM) - initial author

Constructor Summary

PackageDesc(String name, String part, boolean recursive)
Create a package descriptor.

Method Summary

String
getName()
Returns the package name.
String
getPart()
Returns the part name.
boolean
isRecursive()
Returns whether subpackages should be matched by this package.
boolean
matches(String className)
Returns whether the specified class is part of this package.

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

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.

matches

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