class JarResourceFile extends FileSystemFile {

    @Override
    public long getLength() {
        try {
            return resource.contentLength();
        } catch (IOException e) {
            log.error("Cannot evaluate resource file {} content length",resource.getFilename(),e);
        }
        return 0;
    }

      JarResourceFile(Resource resource, boolean isExecutable);

}