Constructor and Description |
---|
EmbeddedResource(byte[] data,
long 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 InputStream openInputStream() throws FileNotFoundException
openInputStream
in interface Resource
FileNotFoundException
public void write(OutputStream out) throws IOException
write
in interface Resource
IOException
public static void build(Jar jar, InputStream in, long lastModified) throws IOException
IOException
public long lastModified()
lastModified
in interface Resource
Copyright © 2015 aQute SARL. All rights reserved.