commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Oxley <box...@simdesk.com>
Subject Re: [vfs] more FileUtils
Date Thu, 20 Jan 2005 18:02:02 GMT
Mario Ivankovits wrote:
> ... this "MaybeBackup" is a thing we could discuss at its own.
> How should a backup be done and named?
> a) backup to *.bak
> b) use versioning - e.g. *.bak_01, *.bak_02
> b.1) with max versions
> c) use timestamping - e.g. *.bak_20050101
> c.1) but not more than 20 backups

Just an example.  What I did was give the WhimFile instance methods to 
cover these cases so that extending classes could implement their own 
policy.  I didn't intend to clutter my example with these issues!  I 
should be more careful.

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


Mime
View raw message