commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeffrey D. Brekke" <jbre...@wi.rr.com>
Subject Re: [vfs] How to *not* create directories if the don't exist?
Date Tue, 17 Oct 2006 17:54:42 GMT
Mario Ivankovits wrote:
> Hi Jeffrey!
>>> If its virtual, then no, it's not possible yet.
>>> Hmmm ... with some thoughts it should be possible, though.
> When we find a way how to solve this, it might be also a solution for
> the "hidden file" bug/enhancement.
> I just don't know how to do it best.
> 
> One way could be that we open the possibility to transform a virutal
> object to a file/folder manually, though, this seems to be a *very*
> strange solution.
> 
> Any additional idea is welcome ...

My only idea was a file system option to just skip the auto creation of 
folders when looking at the paths.  Just use them when this is on and 
don't attempt to create them.  Don't even verify they exist in the 
directory listing?

I think this equates to some system options honored in 
AbstractFileObject to skip the parent/folder traversal/creation stuff.

Or an alternative implementation of FileObject that does something like 
this?

-- 
=====================================================================
Jeffrey D. Brekke                                   jbrekke@wi.rr.com
Wisconsin,  USA                                     brekke@apache.org
                                                     ekkerbj@yahoo.com
http://www.bloglines.com/blog/jbrekke               ekkerbj@gmail.com


---------------------------------------------------------------------
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