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) |
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 ResourceIOExceptionCopyright © 2015 aQute SARL. All Rights Reserved.