commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ivankovits <>
Subject Re: [VFS] FallbackFileObject
Date Mon, 08 Aug 2005 10:18:46 GMT
Hi Philippe!

> i have to deal with some schemes that are not necessary registered to 
> the VFS manager ; in fact, i don't really know in advance if an URI 
> has a scheme known by VFS
> -supply a FallbackFileObject (for which one can't access the content, 
> of course)
But what will you do with such kind of fileObject?

However. The DefaultFileSystemManager knows something like a 
defaultProvider. You can override to default defaultProvider ;-) using 
If you provide something like FallbackFileProvider you should be able to 
return a FallbackFileObject.

The default defaultProvider is the UrlFileProvider, if you need its 
functionality (which is guess you dont) you have to wrap it in your 
Unhappily there is no getDefaultProvider now.

Might this fit your needs?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message