Constructor and Description |
---|
FileResource(File file) |
Modifier and Type | Method and Description |
---|---|
static void |
build(Jar jar,
File directory,
Pattern doNotCopy) |
String |
getExtra() |
long |
lastModified() |
InputStream |
openInputStream() |
void |
setExtra(String extra) |
long |
size() |
String |
toString() |
void |
write(OutputStream out) |
public FileResource(File file)
public InputStream openInputStream() throws FileNotFoundException
openInputStream
in interface Resource
FileNotFoundException
public void write(OutputStream out) throws Exception
public long lastModified()
lastModified
in interface Resource
public long size()
Copyright © 2017 aQute SARL. All Rights Reserved.