2

I want to construct URL objects for scp://... urls. Currently, Java rejects these with MalformedURLException: unknown protocol: scp.

How can I get Java to construct these URLs without throwing exceptions?

Should I write a singleton handler and pass it as an option everywhere I construct URLs?

apennebaker
  • 681
  • 2
  • 8
  • 17

0 Answers0