| Constructor and Description |
|---|
EmbeddedResource(byte[] data,
long lastModified) |
EmbeddedResource(String pc,
int lastModified) |
| Modifier and Type | Method and Description |
|---|---|
static void |
build(Jar jar,
InputStream in,
long lastModified) |
static void |
build(Jar sub,
Resource resource) |
String |
getExtra() |
long |
lastModified() |
InputStream |
openInputStream() |
void |
setExtra(String extra) |
long |
size() |
String |
toString() |
void |
write(OutputStream out) |
public EmbeddedResource(byte[] data,
long lastModified)
public EmbeddedResource(String pc, int lastModified) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic InputStream openInputStream() throws FileNotFoundException
openInputStream in interface ResourceFileNotFoundExceptionpublic void write(OutputStream out) throws IOException
write in interface ResourceIOExceptionpublic static void build(Jar jar, InputStream in, long lastModified) throws IOException
IOExceptionpublic long lastModified()
lastModified in interface ResourceCopyright © 2016 aQute SARL. All rights reserved.