org.neo4j.kernel.impl.osgi
Class OSGiManifest

java.lang.Object
  extended by java.util.jar.Manifest
      extended by org.neo4j.kernel.impl.osgi.OSGiManifest
All Implemented Interfaces:
Cloneable

public class OSGiManifest
extends Manifest

Wraps an OSGi Bundle in a jar Manifest.


Constructor Summary
OSGiManifest(org.osgi.framework.Bundle bundle)
           
 
Method Summary
 void clear()
           
 Attributes getAttributes(String name)
           
 Map<String,Attributes> getEntries()
           
 Attributes getMainAttributes()
           
 void read(InputStream is)
           
 void write(OutputStream out)
           
 
Methods inherited from class java.util.jar.Manifest
clone, equals, hashCode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSGiManifest

public OSGiManifest(org.osgi.framework.Bundle bundle)
Method Detail

getMainAttributes

public Attributes getMainAttributes()
Overrides:
getMainAttributes in class Manifest

getEntries

public Map<String,Attributes> getEntries()
Overrides:
getEntries in class Manifest

getAttributes

public Attributes getAttributes(String name)
Overrides:
getAttributes in class Manifest

clear

public void clear()
Overrides:
clear in class Manifest

write

public void write(OutputStream out)
           throws IOException
Overrides:
write in class Manifest
Throws:
IOException

read

public void read(InputStream is)
          throws IOException
Overrides:
read in class Manifest
Throws:
IOException


Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.