org.apache.avalon.repository.impl
Class DefaultBlockManifest

java.lang.Object
  extended byorg.apache.avalon.repository.impl.DefaultBlockManifest
All Implemented Interfaces:
BlockManifest

public final class DefaultBlockManifest
extends Object
implements BlockManifest

An extended manifest that provides a set of convinience operations to access block related attributes.

Version:
$Revision: 1.1.1.1 $ $Date: 2003/12/04 19:34:30 $
Author:
Avalon Development Team

Field Summary
 
Fields inherited from interface org.apache.avalon.repository.provider.BlockManifest
BLOCK_GROUP_KEY, BLOCK_NAME_KEY, BLOCK_VERSION_KEY
 
Constructor Summary
DefaultBlockManifest(Manifest manifest)
          Creation of a new block manifest
 
Method Summary
 String getBlockGroup()
          Get the name of the group that the block is a part of.
 String getBlockName()
          Get the name the block.
 String getBlockVersion()
          Get the version of the block.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultBlockManifest

public DefaultBlockManifest(Manifest manifest)
                     throws NullPointerException
Creation of a new block manifest

Parameters:
manifest - the jar manifest
Method Detail

getBlockGroup

public String getBlockGroup()
Description copied from interface: BlockManifest
Get the name of the group that the block is a part of.

Specified by:
getBlockGroup in interface BlockManifest
Returns:
the block group

getBlockName

public String getBlockName()
Description copied from interface: BlockManifest
Get the name the block.

Specified by:
getBlockName in interface BlockManifest
Returns:
the block name

getBlockVersion

public String getBlockVersion()
Description copied from interface: BlockManifest
Get the version of the block.

Specified by:
getBlockVersion in interface BlockManifest
Returns:
the block version


Copyright © Apache Software Foundation. All Rights Reserved.