org.apache.felix.framework.security.util
Class BundleInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by org.apache.felix.framework.security.util.BundleInputStream
All Implemented Interfaces:
java.io.Closeable

public final class BundleInputStream
extends java.io.InputStream

This class makes a given content available as a inputstream with a jar content. In other words the stream can be used as input to a JarInputStream.


Constructor Summary
BundleInputStream(org.apache.felix.framework.cache.Content root)
           
 
Method Summary
 int read()
           
 
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BundleInputStream

public BundleInputStream(org.apache.felix.framework.cache.Content root)
                  throws java.io.IOException
Throws:
java.io.IOException
Method Detail

read

public int read()
         throws java.io.IOException
Specified by:
read in class java.io.InputStream
Throws:
java.io.IOException


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