commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <ralph.go...@dslextreme.com>
Subject Re: [VFS] Any thoughts on adding a ImmutableFileObject?
Date Tue, 26 Jun 2012 16:46:21 GMT
OK - but why not just return errors if isWritable() is false?

Ralph

On Jun 26, 2012, at 7:37 AM, Gary Gregory wrote:

> I have an otherwise immutable class that also holds a FileObject that I do
> not want to provide write access to. The file on disk will likely be
> writable but I do not want to have any VFS write APIs available.
> 
> Gary
> 
> On Tue, Jun 26, 2012 at 9:27 AM, Ralph Goers <rgoers@apache.org> wrote:
> 
>> Why?
>> 
>> Sent from my iPad
>> 
>> On Jun 26, 2012, at 4:19 AM, Gary Gregory <garydgregory@gmail.com> wrote:
>> 
>>> Hi All:
>>> 
>>> Any thoughts, for, against or any, on adding an ImmutableFileObject?
>>> 
>>> Thank you,
>>> Gary
>>> 
>>> --
>>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>>> JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
>>> Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
>>> Blog: http://garygregory.wordpress.com
>>> Home: http://garygregory.com/
>>> Tweet! http://twitter.com/GaryGregory
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>> 
>> 
> 
> 
> -- 
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
> Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory


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


Mime
View raw message