You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Schalk Cronjé <ys...@gmail.com> on 2015/01/03 01:51:16 UTC

[VFS] Is is safe to use FileObjects from different FileSystemManagers ?

Hi all,

I have been wondering about this one for a while.

Assume that I have instances of FileSystemManager

   FileSystemManager fsm1
   FileSystemManager fsm2

   FileObject fo1 = fsm1.resolveFile( 'ftp://some-server/file1' )
   FileObject fo2 = fsm2.resolveFile( 'ftp://other-server/file2' )

Is it safe to allow the two FileObjects to co-operate?

   fo1.moveTo(fo2).


-- 
Schalk W. Cronjé
Twitter / Ello / Toeter : @ysb33r


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