org.apache.felix.bundlerepository
Class R4Package

java.lang.Object
  extended by org.apache.felix.bundlerepository.R4Package
Direct Known Subclasses:
R4Export, R4Import

public class R4Package
extends Object


Field Summary
protected  R4Attribute[] m_attrs
           
protected  R4Directive[] m_directives
           
protected  Version m_version
           
 
Constructor Summary
R4Package(String name, R4Directive[] directives, R4Attribute[] attrs)
           
 
Method Summary
 R4Attribute[] getAttributes()
           
 R4Directive[] getDirectives()
           
 String getName()
           
 Version getVersion()
           
static R4Package[] parseImportOrExportHeader(String s)
           
static R4Package[] parsePackageStrings(String[] ss)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_directives

protected R4Directive[] m_directives

m_attrs

protected R4Attribute[] m_attrs

m_version

protected Version m_version
Constructor Detail

R4Package

public R4Package(String name,
                 R4Directive[] directives,
                 R4Attribute[] attrs)
Method Detail

getName

public String getName()

getDirectives

public R4Directive[] getDirectives()

getAttributes

public R4Attribute[] getAttributes()

getVersion

public Version getVersion()

toString

public String toString()
Overrides:
toString in class Object

parseImportOrExportHeader

public static R4Package[] parseImportOrExportHeader(String s)

parsePackageStrings

public static R4Package[] parsePackageStrings(String[] ss)
                                       throws IllegalArgumentException
Throws:
IllegalArgumentException


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.