commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ivankovits <ma...@ops.co.at>
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.
---
Mario


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message