RE: VFS LocalFile#getLocalFile() protected?

2009-05-15 Thread Mario Ivankovits
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

Re: VFS LocalFile#getLocalFile() protected?

2009-05-15 Thread Ryan McKinley
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 =