elharo commented on PR #544:
URL: https://github.com/apache/commons-io/pull/544#issuecomment-1872054833

   That is true, but that is an implementation detail. There's nothing in this 
class or API that indicates it should depend on which file system providers are 
installed. And this is about URIs, not file systems. I would be equally 
surprised if CharSequenceOrigin depended on file system providers. 
   
   URIOrigin should be able to provide at l;east streams and readers for any 
URL the JDK can handle. 
   
   Overall though as I explore this, I'm coming to the conclusion that Origin 
is attempting to provide an sbstraction  for something that doesn't exist. That 
is, there is no true common type for files, byte arrays, strings, URLs, etc. 
Hence all the UnsupportedOPerationExceptions and surprising failures like this 
one.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to