You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by fi...@cirquedigital.com on 2005/06/17 18:50:54 UTC
[vfs] FileName.resolveName(String) gone
Hi,
I saw that the FileName.resolveName(String) method was removed --
I'm using that one quite a bit.
Can anyone tell me what the replacement is / why it was removed ?
Thanks a lot,
- Filip
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
Re: [vfs] FileName.resolveName(String) gone
Posted by Mario Ivankovits <ma...@ops.co.at>.
Hello!
>I saw that the FileName.resolveName(String) method was removed
>Can anyone tell me what the replacement is
FileName name = VFS.getManager().resolveName(FileName base, String path)
>why it was removed ?
>
This decision was made due to the fact that the FileName might not
exactly know whats the resulting name is e.g. if any other fileProvider
is needet to parse the filename.And thus the "logic" within FileName has
moved to the Manager to have access to those Providers.
Once we manage to cut the 1.0 release such drastic changes dont happen
without the well known @deprecated cycle.
Ciao,
Mario
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org