Class PackageDesc
java.lang.Object
net.adoptopenjdk.icedteaweb.jnlp.element.resource.PackageDesc
The package element can be used to indicate to the JNLP Client which packages are implemented in which JAR files.
- Version:
- $Revision: 1.6 $
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPackageDesc(String name, String part, boolean recursive) Create a package descriptor. -
Method Summary
-
Field Details
-
NAME_ATTRIBUTE
- See Also:
-
PART_ATTRIBUTE
- See Also:
-
RECURSIVE_ATTRIBUTE
- See Also:
-
ASTERIX_SUFFIX
- See Also:
-
name
the package name -
part
the part required by the package -
recursive
private final boolean recursivewhether the package includes subpackages
-
-
Constructor Details
-
PackageDesc
-
-
Method Details
-
matches
- Parameters:
className- the fully qualified class name- Returns:
- whether the specified class is part of this package.
-
getName
- Returns:
- the package name.
-
getPart
- Returns:
- the part name.
-
isRecursive
public boolean isRecursive()- Returns:
- whether subpackages should be matched by this package.
-