org.ow2.util.archive.impl
Class AbsArchiveImpl
java.lang.Object
org.ow2.util.archive.impl.AbsArchiveImpl
- All Implemented Interfaces:
- IArchive
- Direct Known Subclasses:
- DirectoryArchiveImpl, JarArchiveImpl, MemoryArchive, URLArchiveImpl
public abstract class AbsArchiveImpl
- extends Object
- implements IArchive
Common code for analyzing manifest.
- Author:
- Florent BENOIT
AbsArchiveImpl
public AbsArchiveImpl()
- Default constructor.
readManifest
protected void readManifest(Manifest manifest)
- Read the manifest and complete the metadata.
- Parameters:
manifest - the given manifest to analyze
getMetadata
public IArchiveMetadata getMetadata()
- Specified by:
getMetadata in interface IArchive
- Returns:
- the Metadata associated to this archive.
toString
public String toString()
- Overrides:
toString in class Object
- Returns:
- a string representation of the object.
Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.