commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel <zam...@gmail.com>
Subject [vfs] replicateFile() method doesn't work for CD drives
Date Thu, 18 Nov 2010 00:56:02 GMT
I used to cheat and use getLocalFile() method for my local files,
until I leant about "File f =
file.getFileSystem().replicateFile(file,Selectors.SELECT_SELF)".
But this way doesn't work for empty CD drives. Saying it does not
exist. Is there a way for it to return a File even if it does not
exist?
For now I have fallen back to getLocalFile() when this error happens.

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


Mime
View raw message