tech.v3.io.url

extension

(extension str-url)

maybe-url

(maybe-url url)

parse-url-arguments

(parse-url-arguments args)

parts->file-path

(parts->file-path {:keys [protocol path], :as url-parts})

parts->url

(parts->url {:keys [protocol path arguments]})

Returns a string. Not a java url.

string-seq->file-path

(string-seq->file-path str-seq)

url->file-path

(url->file-path url)

url->parts

(url->parts url)

It is not a great idea to add custom java url protocls as it involves creating a new stream handler and that is a one-off (per-program) operation thus you would potentially conflict with anyone else who did such a thing: https://stackoverflow.com/questions/26363573/registering-and-using-a-custom-java-net-url-protocol

url?

(url? url)