public abstract class AbstractResource extends Object implements Resource
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractResource(long modified) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract byte[] |
getBytes() |
String |
getExtra() |
long |
lastModified() |
InputStream |
openInputStream() |
void |
setExtra(String extra) |
long |
size() |
void |
write(OutputStream out) |
public long lastModified()
lastModified in interface Resourcepublic InputStream openInputStream() throws IOException
openInputStream in interface ResourceIOExceptionpublic void write(OutputStream out) throws IOException
write in interface ResourceIOExceptionpublic long size()
throws IOException
size in interface ResourceIOExceptionCopyright © 2017 aQute SARL. All rights reserved.