org.jboss.deployers.vfs.spi.deployer.helpers
Class AbstractManifestMetaData
java.lang.Object
org.jboss.deployers.vfs.spi.deployer.helpers.AbstractManifestMetaData
- All Implemented Interfaces:
- Externalizable, Serializable, ManifestMetaData
public class AbstractManifestMetaData
- extends Object
- implements ManifestMetaData, Externalizable
Abstract manifest meta data.
- Author:
- Ales Justin
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
manifest
protected transient Manifest manifest
AbstractManifestMetaData
public AbstractManifestMetaData()
AbstractManifestMetaData
public AbstractManifestMetaData(Manifest manifest)
getManifest
protected Manifest getManifest()
get
protected String get(Attributes attributes,
String name)
getMainAttribute
public String getMainAttribute(String name)
- Description copied from interface:
ManifestMetaData
- Get the manifest attribute value.
- Specified by:
getMainAttribute
in interface ManifestMetaData
- Parameters:
name
- the name
- Returns:
- attribute value or null if attribute doesn't exist
getAttribute
public String getAttribute(String attributesName,
String name)
- Description copied from interface:
ManifestMetaData
- Get attribute value from specific attrbiutes.
- Specified by:
getAttribute
in interface ManifestMetaData
- Parameters:
attributesName
- attribute group namename
- string key for accessing specific attribute
- Returns:
- attribute value or null if attribute doesn't exist
getEntry
public String getEntry(String entryName,
String name)
- Description copied from interface:
ManifestMetaData
- Get attribute value from specific attrbiutes.
- Specified by:
getEntry
in interface ManifestMetaData
- Parameters:
entryName
- entry namename
- string key for accessing specific attribute
- Returns:
- attribute value or null if attribute doesn't exist
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.