public abstract class WriteResource extends Object implements Resource
| Constructor and Description |
|---|
WriteResource() |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
buffer() |
void |
close() |
String |
getExtra() |
abstract long |
lastModified() |
InputStream |
openInputStream() |
void |
setExtra(String extra) |
long |
size() |
abstract void |
write(OutputStream out) |
public ByteBuffer buffer() throws Exception
public InputStream openInputStream() throws Exception
openInputStream in interface ResourceExceptionpublic abstract void write(OutputStream out) throws Exception
public abstract long lastModified()
lastModified in interface Resourcepublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2019 aQute SARL. All rights reserved.