aQute.lib.osgi
Class WriteResource

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

public abstract class WriteResource
extends Object
implements Resource


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

Constructor Detail

WriteResource

public WriteResource()
Method Detail

openInputStream

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

write

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

lastModified

public abstract 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.