commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ivankovits <>
Subject Re: Can I have global VFS FileSystemOptions?
Date Fri, 14 Oct 2005 18:19:39 GMT
Hi Doug!
> Is there a way to get the options put in so that I do
> not need to pass it to each resolveFile call?
Sorry, not yet, but it is already on my todo list.

If possible use the fileObject to resolve children of it, then you do 
not need to pass the options again.

FileObject foRoot = VFS.getManager().resolveFile("//////", opts);
FileObject foChild = foRoot.resolveFile("child");

Hope this helps for now.

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

View raw message