| |
|
| java.lang.Object org.apache.catalina.util.ManifestResource
ManifestResource | public class ManifestResource (Code) | | Representation of a Manifest file and its available extensions and
required extensions
author: Greg Murray author: Justyna Horwat version: $Revision: 1.5 $ $Date: 2004/02/27 14:58:50 $ |
Field Summary | |
final public static int | APPLICATION | final public static int | SYSTEM | final public static int | WAR |
APPLICATION | final public static int APPLICATION(Code) | | |
SYSTEM | final public static int SYSTEM(Code) | | |
WAR | final public static int WAR(Code) | | |
ManifestResource | public ManifestResource(String resourceName, Manifest manifest, int resourceType)(Code) | | |
containsExtension | public boolean containsExtension(String key)(Code) | | Convienience method to check if this ManifestResource
has an extension available.
Parameters: key - extension identifier true if extension available |
getAvailableExtensionCount | public int getAvailableExtensionCount()(Code) | | Gets the number of available extensions
The number of available extensions |
getAvailableExtensions | public HashMap getAvailableExtensions()(Code) | | Gets the map of available extensions
Map of available extensions |
getRequiredExtensionCount | public int getRequiredExtensionCount()(Code) | | Gets the number of required extensions
The number of required extensions |
getRequiredExtensions | public ArrayList getRequiredExtensions()(Code) | | Gets the list of required extensions
List of required extensions |
getResourceName | public String getResourceName()(Code) | | Gets the name of the resource
The name of the resource |
isFulfilled | public boolean isFulfilled()(Code) | | Returns true if all required extension dependencies
have been meet for this ManifestResource object.
boolean true if all extension dependencies have been satisfied |
requiresExtensions | public boolean requiresExtensions()(Code) | | Convienience method to check if this ManifestResource
has an requires extensions.
true if required extensions are present |
|
|
|