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.
Implementation should be case-insensitive

Author:
Florent BENOIT

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

Method Detail

get

String get(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

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

put

void put(String name,
         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-2012 OW2 Consortium. All Rights Reserved.