public abstract class WriteResource extends Object implements Resource
Constructor and Description |
---|
WriteResource() |
Modifier and Type | Method and Description |
---|---|
String |
getExtra() |
abstract long |
lastModified() |
InputStream |
openInputStream() |
void |
setExtra(String extra) |
long |
size() |
abstract void |
write(OutputStream out) |
public InputStream openInputStream() throws Exception
openInputStream
in interface Resource
Exception
public abstract void write(OutputStream out) throws IOException, Exception
write
in interface Resource
IOException
Exception
public abstract long lastModified()
lastModified
in interface Resource
public long size() throws IOException, Exception
size
in interface Resource
IOException
Exception
Copyright © 2015 aQute SARL. All rights reserved.