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 Resource
public InputStream openInputStream() throws IOException
openInputStream
in interface Resource
IOException
public void write(OutputStream out) throws IOException
write
in interface Resource
IOException
public long size() throws IOException
size
in interface Resource
IOException
Copyright © 2015 aQute SARL. All rights reserved.