@Override
    public boolean isFile() {
        if (this.uri != null) {
            return super.isFile(this.uri);
        } else {
            return super.isFile();
        }
    }
This implementation returns the underlying URI directly,
if possible.
analyzer/src/main/java/nl/basjes/parse/useragent/utils/springframework/core/io/UrlResource.java