org.apache.felix.ipojo.bnd
Class BndJarResourceStore

java.lang.Object
  extended by org.apache.felix.ipojo.bnd.BndJarResourceStore
All Implemented Interfaces:
ResourceStore

public class BndJarResourceStore
extends java.lang.Object
implements ResourceStore


Constructor Summary
BndJarResourceStore(aQute.lib.osgi.Analyzer analyzer, aQute.libg.reporter.Reporter reporter)
           
 
Method Summary
 void accept(ResourceVisitor visitor)
           
 void close()
           
 void open()
           
 byte[] read(java.lang.String path)
           
 void write(java.lang.String resourcePath, byte[] resource)
           
 void writeMetadata(org.apache.felix.ipojo.metadata.Element metadata)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BndJarResourceStore

public BndJarResourceStore(aQute.lib.osgi.Analyzer analyzer,
                           aQute.libg.reporter.Reporter reporter)
Method Detail

read

public byte[] read(java.lang.String path)
            throws java.io.IOException
Specified by:
read in interface ResourceStore
Throws:
java.io.IOException

accept

public void accept(ResourceVisitor visitor)
Specified by:
accept in interface ResourceStore

open

public void open()
          throws java.io.IOException
Specified by:
open in interface ResourceStore
Throws:
java.io.IOException

writeMetadata

public void writeMetadata(org.apache.felix.ipojo.metadata.Element metadata)
Specified by:
writeMetadata in interface ResourceStore

write

public void write(java.lang.String resourcePath,
                  byte[] resource)
           throws java.io.IOException
Specified by:
write in interface ResourceStore
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Specified by:
close in interface ResourceStore
Throws:
java.io.IOException


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