aQute.lib.osgi
Class TagResource

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

public class TagResource
extends Object
implements Resource


Constructor Summary
TagResource(Tag tag)
           
 
Method Summary
 String getExtra()
           
 long lastModified()
           
 InputStream openInputStream()
           
 void setExtra(String extra)
           
 void write(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(Tag tag)
Method Detail

openInputStream

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

write

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

lastModified

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

setExtra

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

getExtra

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


Copyright © 2012 aQute SARL. All Rights Reserved.