A Swiss Army Knife for OSGi

aQute.lib.osgi
Class TagResource

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

public class TagResource
extends java.lang.Object
implements Resource


Constructor Summary
TagResource(aQute.lib.tag.Tag tag)
           
 
Method Summary
 java.lang.String getExtra()
           
 long lastModified()
           
 java.io.InputStream openInputStream()
           
 void setExtra(java.lang.String extra)
           
 void write(java.io.OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagResource

public TagResource(aQute.lib.tag.Tag tag)
Method Detail

openInputStream

public java.io.InputStream openInputStream()
                                    throws java.lang.Exception
Specified by:
openInputStream in interface Resource
Throws:
java.lang.Exception

write

public void write(java.io.OutputStream out)
           throws java.io.UnsupportedEncodingException
Specified by:
write in interface Resource
Throws:
java.io.UnsupportedEncodingException

lastModified

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

setExtra

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

getExtra

public java.lang.String getExtra()
Specified by:
getExtra in interface Resource

Licensed under Apache Software License 2.0

Copyright å© aQute SARL (2000, 2011). All Rights Reserved.