org.ow2.util.archive.api
Interface IArchiveMetadata


public interface IArchiveMetadata

Metadata available for this Archive. This may be mainly the metadata collected from the Manifest file

Author:
Florent BENOIT

Method Summary
 java.lang.String get(java.lang.String name)
          Gets the value of an entry for the given name.
 java.lang.String getImplementationVersion()
           
 void put(java.lang.String name, java.lang.String value)
          Adds an entry into this metadata.
 

Method Detail

get

java.lang.String get(java.lang.String name)
Gets the value of an entry for the given name.

Parameters:
name - the name of the key to use.
Returns:
the value

getImplementationVersion

java.lang.String getImplementationVersion()
Returns:
the value of the implementation version of this archive.

put

void put(java.lang.String name,
         java.lang.String value)
Adds an entry into this metadata.

Parameters:
name - the name of the key to add
value - the value of the given key


Copyright © 2007-2009 OW2 Consortium. All Rights Reserved.