exists and notExists

Alan Bateman Alan.Bateman at Sun.COM
Mon May 26 09:45:46 PDT 2008


Carfield Yim wrote:
> :
> Is that really useful to most of us? Why not enchancing existing API
> but duplicate what we have?
>   
Are you saying that the notExists method isn't useful or are you saying 
you it should be added to java.io.File? If the latter, then recall that 
File has many many problems and the platform is long overdue a better 
interface to the file system. By adding the getFileRef method we provide 
a way for existing applications to make use of the new functionality 
without extensive changes to existing applications.

-Alan.



More information about the nio-discuss mailing list