aQute.lib.osgi
Class URLResource
java.lang.Object
aQute.lib.osgi.URLResource
- All Implemented Interfaces:
- Resource
public class URLResource
- extends Object
- implements Resource
URLResource
public URLResource(URL url)
openInputStream
public InputStream openInputStream()
throws IOException
- Specified by:
openInputStream in interface Resource
- Throws:
IOException
toString
public String toString()
- Overrides:
toString in class Object
write
public void write(OutputStream out)
throws IOException
- Specified by:
write in interface Resource
- Throws:
IOException
lastModified
public long lastModified()
- Specified by:
lastModified in interface Resource
getExtra
public String getExtra()
- Specified by:
getExtra in interface Resource
setExtra
public void setExtra(String extra)
- Specified by:
setExtra in interface Resource
Copyright © 2010 aQute SARL. All Rights Reserved.