aQute.bnd.osgi
Class JarResource

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

public class JarResource
extends WriteResource


Constructor Summary
JarResource(Jar jar)
           
 
Method Summary
 Jar getJar()
           
 long lastModified()
           
 String toString()
           
 void write(OutputStream out)
           
 
Methods inherited from class aQute.bnd.osgi.WriteResource
getExtra, openInputStream, setExtra, size
 
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

lastModified

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

write

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

getJar

public Jar getJar()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014 aQute SARL. All rights reserved.