aQute.lib.osgi
Class JarResource

java.lang.Object
  extended by aQute.lib.osgi.JarResource
All Implemented Interfaces:
Resource

public class JarResource
extends Object
implements Resource


Constructor Summary
JarResource(Jar jar)
           
 
Method Summary
 String getExtra()
           
 Jar getJar()
           
 long lastModified()
           
 InputStream openInputStream()
           
 void setExtra(String extra)
           
 String toString()
           
 void write(OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JarResource

public JarResource(Jar jar)
Method Detail

getExtra

public String getExtra()
Specified by:
getExtra in interface Resource

lastModified

public long lastModified()
Specified by:
lastModified in interface Resource

write

public void write(OutputStream out)
           throws Exception
Specified by:
write in interface Resource
Throws:
Exception

openInputStream

public InputStream openInputStream()
                            throws Exception
Specified by:
openInputStream in interface Resource
Throws:
Exception

setExtra

public void setExtra(String extra)
Specified by:
setExtra in interface Resource

getJar

public Jar getJar()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 aQute SARL. All Rights Reserved.