Java: validate magnet-link

234 Views Asked by At

I'm looking for some validator for magnet-link in Java, something like UrlValidator from Apache Commons Validator project for HTTP URLs, but all what I found is approaches with regular expressions. As another one option I see - to use some torrent processing library and try to open the link, but it seems pretty heavy operation.

Is there some common approach for this case except regexes?

0

There are 0 best solutions below