Hi!
Not every FileObject can be represented as a local file, and thus getLocalFile
ist protected.
What you can do is to replicate the file:
File file = fileObject.getFileSystem().replicateFile(fileObject,
Selectors.SELECT_SELF);
For the local filesystem this simply exposes the local file
I wish I had asked sooner!
that is perfect.
thanks!
On May 15, 2009, at 2:13 AM, Mario Ivankovits wrote:
Hi!
Not every FileObject can be represented as a local file, and thus
getLocalFile ist protected.
What you can do is to replicate the file:
File file =