commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ivankovits <ma...@ops.co.at>
Subject Re: [vfs] LocalFile package-protected and final: why?
Date Tue, 11 Jan 2005 16:32:08 GMT
Matthijs Wensveen wrote:
> How impossible would it be to have java.io.File subclasses as wrappers 
> around vfs?
The java.io.File itself might not be the problem. One could override and 
replace all its methods.
But java's FileInputStream et al wont be happy with them as they use 
FileDescriptors and e.g. FileInputStream.open() is a native method. :-(
If a 3rd Party library tries to pass the wrapped VFS-File to them they fail.


Ciao,
Mario


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