JarFileResource.getFile() now returns the Jar's java.io.File object
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
parent
2d9f128410
commit
13a574557b
|
@ -404,4 +404,12 @@ public class JarFileResource extends JarResource
|
|||
URL url = new URL(string);
|
||||
return url.sameFile(resource.getURI().toURL());
|
||||
}
|
||||
|
||||
@Override
|
||||
public File getFile()
|
||||
{
|
||||
if (_file != null)
|
||||
return _file;
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue